X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.specs%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fbuild%2FModularDistribution.java;h=0b917aa49d8ba1ebb4b08deb9aa98c23d612a071;hb=d4bd245768d2e2b3f94928b3db5a01380857e8b8;hp=19280516f225b1ed04338c4b83d65611f752093d;hpb=74904a755b5b344238eafa798419b80c5e74f7ed;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 19280516f..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) 2007-2012 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. @@ -15,15 +15,20 @@ */ 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); }