Class Subsystems
- java.lang.Object
-
- com.ensoftcorp.open.commons.subsystems.Subsystems
-
public class Subsystems extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Subsystems()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Set<Subsystem>
getRegisteredSubsystems()
Returns a copy of the currently registered subsystemsstatic com.ensoftcorp.atlas.core.query.Q
getSubsystemContents(Subsystem... subsystems)
Returns the set of nodes contained in the given subsystem tagsstatic com.ensoftcorp.atlas.core.query.Q
getSubsystemContents(java.lang.String... subsystemTags)
Returns the set of nodes contained in the given subsystem tagsstatic com.ensoftcorp.atlas.core.query.Q
getSubsystemInteractions(com.ensoftcorp.atlas.core.query.Q context, Subsystem subsystem, java.lang.String... edgeTags)
Returns the interactions along the given types of edges of the context set and the set defined by the contents of the subsystemstatic com.ensoftcorp.atlas.core.query.Q
getSubsystemInteractions(com.ensoftcorp.atlas.core.query.Q context, java.lang.String subsystemTag, java.lang.String... edgeTags)
Returns the interactions along the given types of edges of the context set and the set defined by the contents of the subsystemstatic void
loadSubsystemContributions()
Registers the contributed plugin subsystems definitions
-
-
-
Method Detail
-
getRegisteredSubsystems
public static java.util.Set<Subsystem> getRegisteredSubsystems()
Returns a copy of the currently registered subsystems- Returns:
-
loadSubsystemContributions
public static void loadSubsystemContributions()
Registers the contributed plugin subsystems definitions
-
getSubsystemContents
public static com.ensoftcorp.atlas.core.query.Q getSubsystemContents(Subsystem... subsystems)
Returns the set of nodes contained in the given subsystem tags- Parameters:
subsystemTags
-- Returns:
-
getSubsystemContents
public static com.ensoftcorp.atlas.core.query.Q getSubsystemContents(java.lang.String... subsystemTags)
Returns the set of nodes contained in the given subsystem tags- Parameters:
subsystemTags
-- Returns:
-
getSubsystemInteractions
public static com.ensoftcorp.atlas.core.query.Q getSubsystemInteractions(com.ensoftcorp.atlas.core.query.Q context, Subsystem subsystem, java.lang.String... edgeTags)
Returns the interactions along the given types of edges of the context set and the set defined by the contents of the subsystem- Parameters:
context
-subsystem
-edgeTags
-- Returns:
-
getSubsystemInteractions
public static com.ensoftcorp.atlas.core.query.Q getSubsystemInteractions(com.ensoftcorp.atlas.core.query.Q context, java.lang.String subsystemTag, java.lang.String... edgeTags)
Returns the interactions along the given types of edges of the context set and the set defined by the contents of the subsystem- Parameters:
context
-subsystemTag
-edgeTags
-- Returns:
-
-