Class NodeContainerImpl

java.lang.Object
org.jbpm.workflow.core.impl.NodeContainerImpl
All Implemented Interfaces:
Serializable, NodeContainer, org.kie.api.definition.process.NodeContainer

public class NodeContainerImpl extends Object implements NodeContainer
See Also:
  • Constructor Details

    • NodeContainerImpl

      public NodeContainerImpl()
  • Method Details

    • addNode

      public void addNode(org.kie.api.definition.process.Node node)
      Description copied from interface: NodeContainer
      Method for adding a node to this node container. Note that the node will get an id unique for this node container.
      Specified by:
      addNode in interface NodeContainer
      Parameters:
      node - the node to be added
    • validateAddNode

      protected void validateAddNode(org.kie.api.definition.process.Node node)
    • getNodes

      public org.kie.api.definition.process.Node[] getNodes()
      Specified by:
      getNodes in interface org.kie.api.definition.process.NodeContainer
    • getNode

      public org.kie.api.definition.process.Node getNode(org.kie.api.definition.process.WorkflowElementIdentifier id)
      Specified by:
      getNode in interface org.kie.api.definition.process.NodeContainer
    • getNodeByUniqueId

      public org.kie.api.definition.process.Node getNodeByUniqueId(String s)
      Specified by:
      getNodeByUniqueId in interface org.kie.api.definition.process.NodeContainer
    • internalGetNode

      public org.kie.api.definition.process.Node internalGetNode(org.kie.api.definition.process.WorkflowElementIdentifier id)
      Specified by:
      internalGetNode in interface NodeContainer
    • removeNode

      public void removeNode(org.kie.api.definition.process.Node node)
      Description copied from interface: NodeContainer
      Method for removing a node from this node container
      Specified by:
      removeNode in interface NodeContainer
      Parameters:
      node - the node to be removed
    • validateRemoveNode

      protected void validateRemoveNode(org.kie.api.definition.process.Node node)
    • resolveContext

      public Context resolveContext(String contextId, Object param)
      Specified by:
      resolveContext in interface NodeContainer