]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/build/ModularDistribution.java
Improve SLC Build framework
[gpl/argeo-slc.git] / runtime / org.argeo.slc.specs / src / main / java / org / argeo / slc / build / ModularDistribution.java
index cc9aacdc038fc08e563fb41ddef9193ab6329174..c63923babd5b58b69509fd91cbb5617638443f86 100644 (file)
@@ -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<NameVersion> listModulesNameVersions();
 
-       public Object getDescriptor(String descriptorType);
+       /** A descriptor such as P2, OBR or yum metadata. */
+       public Object getModulesDescriptor(String descriptorType);
 }