Package org.jbpm.workflow.core.impl
Class NodeImpl
java.lang.Object
org.jbpm.workflow.core.impl.NodeImpl
- All Implemented Interfaces:
Serializable,Mappable,Contextable,ContextResolver,Node,org.kie.api.definition.process.Node,org.kie.api.definition.process.WorkflowElement,KogitoNode
- Direct Known Subclasses:
CompositeNode.CompositeNodeEnd,CompositeNode.CompositeNodeStart,ExtendedNodeImpl,Join,Split
Default implementation of a node.
- See Also:
-
Field Summary
FieldsFields inherited from interface org.jbpm.workflow.core.Node
CONNECTION_DEFAULT_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConstraint(ConnectionRef connectionRef, Constraint constraint) voidaddInAssociation(DataAssociation dataAssociation) voidaddIncomingConnection(String type, org.kie.api.definition.process.Connection connection) voidaddInMapping(String from, String to) voidaddOutAssociation(DataAssociation dataAssociation) voidaddOutgoingConnection(String type, org.kie.api.definition.process.Connection connection) voidaddOutMapping(String from, String to) voidvoidgetConstraint(org.kie.api.definition.process.Connection connection) getConstraints(org.kie.api.definition.process.Connection connection) getContext(String contextId) List<org.kie.api.definition.process.Connection>Helper method for nodes that have multiple default incoming connectionsList<org.kie.api.definition.process.Connection>Helper method for nodes that have multiple default outgoing connectionsorg.kie.api.definition.process.ConnectiongetFrom()Helper method for nodes that have at most one default incoming connectionorg.kie.api.definition.process.WorkflowElementIdentifiergetId()List<org.kie.api.definition.process.Connection>getIncomingConnections(String type) getInMapping(String key) getMetaData(String name) getName()org.kie.api.definition.process.NodeContainerList<org.kie.api.definition.process.Connection>getOutgoingConnections(String type) getOutMapping(String key) org.kie.api.definition.process.NodeContainerorg.kie.api.definition.process.ConnectiongetTo()Helper method for nodes that have at most one default outgoing connectionvoidremoveIncomingConnection(String type, org.kie.api.definition.process.Connection connection) voidremoveOutgoingConnection(String type, org.kie.api.definition.process.Connection connection) resolveContext(String contextId, Object param) voidsetConstraint(org.kie.api.definition.process.Connection connection, Constraint constraint) voidsetContext(String contextId, Context context) voidsetId(org.kie.api.definition.process.WorkflowElementIdentifier id) Method for setting the id of the nodevoidsetIoSpecification(IOSpecification ioSpecification) voidsetMetaData(String name, Object value) voidsetMetaData(Map<String, Object> metaData) voidsetMultiInstanceSpecification(MultiInstanceSpecification multiInstanceSpecification) voidMethod for setting the name of the nodevoidsetParentContainer(org.kie.api.definition.process.NodeContainer nodeContainer) voidvalidateAddIncomingConnection(String type, org.kie.api.definition.process.Connection connection) voidvalidateAddOutgoingConnection(String type, org.kie.api.definition.process.Connection connection) voidvalidateRemoveIncomingConnection(String type, org.kie.api.definition.process.Connection connection) voidvalidateRemoveOutgoingConnection(String type, org.kie.api.definition.process.Connection connection) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kie.api.definition.process.Node
getNodeTypeMethods inherited from interface org.kie.api.definition.process.WorkflowElement
getUniqueId
-
Field Details
-
constraints
-
-
Constructor Details
-
NodeImpl
public NodeImpl()
-
-
Method Details
-
setMultiInstanceSpecification
-
getMultiInstanceSpecification
-
setIoSpecification
-
getIoSpecification
-
getInMappings
- Specified by:
getInMappingsin interfaceMappable
-
getOutMappings
- Specified by:
getOutMappingsin interfaceMappable
-
getInMapping
- Specified by:
getInMappingin interfaceMappable
-
getOutMapping
- Specified by:
getOutMappingin interfaceMappable
-
addInMapping
- Specified by:
addInMappingin interfaceMappable
-
addOutMapping
- Specified by:
addOutMappingin interfaceMappable
-
addInAssociation
- Specified by:
addInAssociationin interfaceMappable
-
getInAssociations
- Specified by:
getInAssociationsin interfaceMappable
-
addOutAssociation
- Specified by:
addOutAssociationin interfaceMappable
-
getProcess
-
getOutAssociations
- Specified by:
getOutAssociationsin interfaceMappable
-
getId
public org.kie.api.definition.process.WorkflowElementIdentifier getId()- Specified by:
getIdin interfaceorg.kie.api.definition.process.WorkflowElement
-
setId
public void setId(org.kie.api.definition.process.WorkflowElementIdentifier id) Description copied from interface:NodeMethod for setting the id of the node -
getName
- Specified by:
getNamein interfaceorg.kie.api.definition.process.Node
-
setName
Description copied from interface:NodeMethod for setting the name of the node -
getIncomingConnections
- Specified by:
getIncomingConnectionsin interfaceorg.kie.api.definition.process.Node
-
getOutgoingConnections
- Specified by:
getOutgoingConnectionsin interfaceorg.kie.api.definition.process.Node
-
addIncomingConnection
public void addIncomingConnection(String type, org.kie.api.definition.process.Connection connection) - Specified by:
addIncomingConnectionin interfaceNode
-
validateAddIncomingConnection
public void validateAddIncomingConnection(String type, org.kie.api.definition.process.Connection connection) -
getIncomingConnections
- Specified by:
getIncomingConnectionsin interfaceorg.kie.api.definition.process.Node
-
addOutgoingConnection
public void addOutgoingConnection(String type, org.kie.api.definition.process.Connection connection) - Specified by:
addOutgoingConnectionin interfaceNode
-
validateAddOutgoingConnection
public void validateAddOutgoingConnection(String type, org.kie.api.definition.process.Connection connection) -
getOutgoingConnections
- Specified by:
getOutgoingConnectionsin interfaceorg.kie.api.definition.process.Node
-
removeIncomingConnection
public void removeIncomingConnection(String type, org.kie.api.definition.process.Connection connection) - Specified by:
removeIncomingConnectionin interfaceNode
-
clearIncomingConnection
public void clearIncomingConnection() -
clearOutgoingConnection
public void clearOutgoingConnection() -
validateRemoveIncomingConnection
public void validateRemoveIncomingConnection(String type, org.kie.api.definition.process.Connection connection) -
removeOutgoingConnection
public void removeOutgoingConnection(String type, org.kie.api.definition.process.Connection connection) - Specified by:
removeOutgoingConnectionin interfaceNode
-
validateRemoveOutgoingConnection
public void validateRemoveOutgoingConnection(String type, org.kie.api.definition.process.Connection connection) -
getFrom
public org.kie.api.definition.process.Connection getFrom()Helper method for nodes that have at most one default incoming connection -
getTo
public org.kie.api.definition.process.Connection getTo()Helper method for nodes that have at most one default outgoing connection -
getDefaultIncomingConnections
Helper method for nodes that have multiple default incoming connections -
getDefaultOutgoingConnections
Helper method for nodes that have multiple default outgoing connections -
getParentContainer
public org.kie.api.definition.process.NodeContainer getParentContainer()- Specified by:
getParentContainerin interfaceKogitoNode
-
setParentContainer
public void setParentContainer(org.kie.api.definition.process.NodeContainer nodeContainer) - Specified by:
setParentContainerin interfaceNode
-
setContext
- Specified by:
setContextin interfaceContextable
-
getContext
- Specified by:
getContextin interfaceContextable
-
resolveContext
- Specified by:
resolveContextin interfaceContextResolver
-
setMetaData
- Specified by:
setMetaDatain interfaceNode
-
getMetaData
-
getMetaData
- Specified by:
getMetaDatain interfaceorg.kie.api.definition.process.Node
-
setMetaData
-
getConstraints
-
getConstraint
-
internalGetConstraint
-
setConstraint
public void setConstraint(org.kie.api.definition.process.Connection connection, Constraint constraint) -
addConstraint
-
getConstraints
-
getNodeContainer
public org.kie.api.definition.process.NodeContainer getNodeContainer()- Specified by:
getNodeContainerin interfaceorg.kie.api.definition.process.Node
-