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=c63923babd5b58b69509fd91cbb5617638443f86;hb=a05c9432445454825a97a74a431170b49903ca3c;hp=5c9f4377877e1c68a616006772c7cbc7c7034e88;hpb=af874b12bcb864e1ee2b48e8d6e1fea3a584c53d;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 5c9f43778..c63923bab 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,12 +1,36 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * 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.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 { public Distribution getModuleDistribution(String moduleName, String moduleVersion); public Set listModulesNameVersions(); + /** A descriptor such as P2, OBR or yum metadata. */ public Object getModulesDescriptor(String descriptorType); }