package org.argeo.slc.structure; import java.util.List; /** Registry where the whole structure is stored. */ 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";
/** Adds an element to the registry. */
public void register(P path, StructureElement element);
/** Lists all registered elements. */
public List listPaths();
/** Gets a element based on its path. */
public getActivePaths();
/**
* Sets the list of active path, which will be run if executed in
* activePaths);
}
STATUS_ACTIVE
mode.
*/
public ListSTATUS_ACTIVE
mode.
*/
public void setActivePaths(List