X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.specs%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fdeploy%2FModule.java;h=2a0bd4d231abd3dc9010ecbada3fe6ff6c238a78;hb=d4bd245768d2e2b3f94928b3db5a01380857e8b8;hp=897358e0c92bd93fd3e34e55b47a2f6cf6b5cb84;hpb=e7ddf0b3a271a2f22108ee5b9fba69888f5c78ec;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/deploy/Module.java b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/deploy/Module.java index 897358e0c..2a0bd4d23 100644 --- a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/deploy/Module.java +++ b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/deploy/Module.java @@ -1,9 +1,27 @@ +/* + * 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.deploy; -import org.argeo.slc.build.Distribution; +import org.argeo.slc.NameVersion; -public interface Module { - public String getName(); - public String getVersion(); - public Distribution getDistribution(); +/** + * Represents a deployed module of a broader deployed system. A module is + * uniquely identifiable via a name / version. + */ +public interface Module extends DeployedSystem, NameVersion { + /** A serializable stateless description of the module */ + public ModuleDescriptor getModuleDescriptor(); }