X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;ds=sidebyside;f=runtime%2Forg.argeo.slc.specs%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fbuild%2FModularDistribution.java;h=0b917aa49d8ba1ebb4b08deb9aa98c23d612a071;hb=d4bd245768d2e2b3f94928b3db5a01380857e8b8;hp=448f87a826853dae8f7e6cabbf65e14fb9c2df7a;hpb=16e2ffb035a4c41576acc74efb37610c7aec1887;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/build/ModularDistribution.java b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/build/ModularDistribution.java index 448f87a82..0b917aa49 100644 --- a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/build/ModularDistribution.java +++ b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/build/ModularDistribution.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010 Mathieu Baudier + * Copyright (C) 2007-2012 Argeo GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,18 +13,22 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.argeo.slc.build; -import java.util.Set; - +import org.argeo.slc.ModuleSet; import org.argeo.slc.NameVersion; -public interface ModularDistribution extends Distribution, NameVersion { +/** + * A distribution of modules, that is components that can be identified by a + * name / version couple. + * + * @see NameVersion + */ +public interface ModularDistribution extends Distribution, NameVersion, + ModuleSet { public Distribution getModuleDistribution(String moduleName, String moduleVersion); - public Set listModulesNameVersions(); - + /** A descriptor such as P2, OBR or yum metadata. */ public Object getModulesDescriptor(String descriptorType); }