Class CallFlowBlockMetaDataConfig


  • public class CallFlowBlockMetaDataConfig
    extends BlockMetaDataConfig

    Configuration that describes the metadata for a TCS call-flow block.

    • Constructor Detail

      • CallFlowBlockMetaDataConfig

        public CallFlowBlockMetaDataConfig()

        Create a new empty module block metadata object.

    • Method Detail

      • getFullyQualifiedFlowResourceName

        public String getFullyQualifiedFlowResourceName()

        Return the fully-qualified name of the flow configuration that this block will call.

        Returns:
        flow FQN
      • setFullyQualifiedFlowResourceName

        public CallFlowBlockMetaDataConfig setFullyQualifiedFlowResourceName​(String fullyQualifiedFlowResourceName)

        Set the fully-qualified name of the flow configuration that this block will call.

        Parameters:
        fullyQualifiedFlowResourceName - flow FQN
        Returns:
        this object
      • getInputPorts

        public Map<String,​ModuleBlockPortConfig> getInputPorts()

        Return this block's map of input ports, indexed by port name.

        Returns:
        input ports
      • addInputPort

        public CallFlowBlockMetaDataConfig addInputPort​(String portName,
                                                        ModuleBlockPortConfig portConfig)

        Add an input port name and associated configuration. Neither can be null.

        Parameters:
        portName - port name
        portConfig - port configuration
        Returns:
        this object
      • getOutputPorts

        public Map<String,​ModuleBlockPortConfig> getOutputPorts()

        Return this block's map of output ports, indexed by port name, null if none.

        Returns:
        output ports, null if none
      • addOutputPort

        public CallFlowBlockMetaDataConfig addOutputPort​(String portName,
                                                         ModuleBlockPortConfig portConfig)

        Add an output port name and associated configuration. Neither can be null.

        Parameters:
        portName - port name
        portConfig - port configuration
        Returns:
        this object
      • getSubstitutionVariableTransformations

        public List<TransformationConfig> getSubstitutionVariableTransformations()

        Return a list of transformations to produce substitution variable values referenced by the attached HOCON configurations, null if none.

        Returns:
        substitution variable transformations
      • setSubstitutionVariableTransformations

        public CallFlowBlockMetaDataConfig setSubstitutionVariableTransformations​(List<TransformationConfig> substitutionVariableTransformations)

        Set a list of transformations to produce substitution variable values referenced by the attached HOCON configurations, null if none.

        Parameters:
        substitutionVariableTransformations - substitution variable transformations, null if none
        Returns:
        this object
      • addSubstitutionVariableTransformation

        public CallFlowBlockMetaDataConfig addSubstitutionVariableTransformation​(TransformationConfig substitutionVariableTransformation)

        Add a substitution variable transformation. Cannot be null.

        Parameters:
        substitutionVariableTransformation - transformation to add
        Returns:
        this object