Package org.lsst.ccs.description
Class ComponentNodeBuilder
java.lang.Object
org.lsst.ccs.description.ComponentNodeBuilder
A ComponentNode builder class.
It provides utility functions to build and manipulate ComponentNodes.
- Author:
- The LSST CCS Team
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentLookupbuildComponentNode(String fullDescription) Build a Descriptive node given a fullDescription string of the form "protocol:descriptionStr".static ComponentLookupbuildComponentNode(String fullDescription, String startupConfig, Properties props) static ComponentLookupbuildComponentNode(Map<String, String> buildArgs, Properties props) static voidRegister a DescriptiveNodeFactory.
-
Method Details
-
registerComponentNodeFactory
Register a DescriptiveNodeFactory. The protocol is used to register the factory and to pick it when needed.- Parameters:
factory- The GroovyComponentNodeFactory to be registered.
-
buildComponentNode
Build a Descriptive node given a fullDescription string of the form "protocol:descriptionStr". Internally it picks the appropriate builder implementation to create the corresponding DescriptiveNode.- Parameters:
fullDescription- The full description to build a DescriptiveNode- Returns:
- The newly built DescriptiveNode.
-
buildComponentNode
public static ComponentLookup buildComponentNode(String fullDescription, String startupConfig, Properties props) -
buildComponentNode
-