Class ComponentNodeBuilder

java.lang.Object
org.lsst.ccs.description.ComponentNodeBuilder

public class ComponentNodeBuilder extends Object
A ComponentNode builder class. It provides utility functions to build and manipulate ComponentNodes.
Author:
The LSST CCS Team
  • Method Details

    • registerComponentNodeFactory

      public static void registerComponentNodeFactory(ComponentNodeBuilder.ComponentNodeFactory factory)
      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

      public static ComponentLookup buildComponentNode(String fullDescription)
      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

      public static ComponentLookup buildComponentNode(Map<String,String> buildArgs, Properties props)