X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=org.argeo.slc.core%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fcore%2Fstructure%2FStructureRegistry.java;h=71f80cb772f7018fd2c7d0ed32e4f18659c51af4;hb=b784cf3cf0a72b72178fb9d69ccfdacaa2f4c5a6;hp=6461ee5b94dc27eabc67d3a7fe3b7f16088706bb;hpb=faf680e212bf3e18837c4f798587856e061273b3;p=gpl%2Fargeo-slc.git diff --git a/org.argeo.slc.core/src/main/java/org/argeo/slc/core/structure/StructureRegistry.java b/org.argeo.slc.core/src/main/java/org/argeo/slc/core/structure/StructureRegistry.java index 6461ee5b9..71f80cb77 100644 --- a/org.argeo.slc.core/src/main/java/org/argeo/slc/core/structure/StructureRegistry.java +++ b/org.argeo.slc.core/src/main/java/org/argeo/slc/core/structure/StructureRegistry.java @@ -2,33 +2,35 @@ package org.argeo.slc.core.structure; import java.util.List; +import org.argeo.slc.core.deploy.DeployedSystem; + /** Registry where the whole structure is stored. */ -public interface StructureRegistry { +public interface StructureRegistry
{
/** Read mode: the structure is only read. */
public static String READ = "READ";
/** All mode: everything is executed regardless of the active paths. */
public static String ALL = "ALL";
/** Active mode: only the active paths are executed. */
- public static String ACTIVE = "ACTIVE";
+ public static String ACTIVE = "STATUS_ACTIVE";
/** Adds an element to the registry. */
- public void register(StructurePath path, StructureElement element);
+ public void register(P path, StructureElement element);
/** Lists all registered elements. */
public List listPaths();
/** Gets a element based on its path. */
- public StructureElement getElement(StructurePath path);
+ public getActivePaths();
/**
* Sets the list of active path, which will be run if executed in
- * activePaths);
}
ACTIVE
mode.
+ * STATUS_ACTIVE
mode.
*/
- public ListACTIVE
mode.
+ * STATUS_ACTIVE
mode.
*/
- public void setActivePaths(List