Package org.jbpm.workflow.core.node
Class MilestoneNode
java.lang.Object
org.jbpm.workflow.core.impl.NodeImpl
org.jbpm.workflow.core.impl.ExtendedNodeImpl
org.jbpm.workflow.core.node.StateBasedNode
org.jbpm.workflow.core.node.MilestoneNode
- All Implemented Interfaces:
Serializable,Mappable,Contextable,ContextResolver,Node,Constrainable,org.kie.api.definition.process.Node,org.kie.api.definition.process.WorkflowElement,KogitoNode
Default implementation of a milestone node.
- See Also:
-
Field Summary
Fields inherited from class org.jbpm.workflow.core.impl.ExtendedNodeImpl
EVENT_NODE_ENTER, EVENT_NODE_EXITFields inherited from class org.jbpm.workflow.core.impl.NodeImpl
constraintsFields inherited from interface org.jbpm.workflow.core.Node
CONNECTION_DEFAULT_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanComplete(org.kie.api.runtime.process.ProcessContext context) voidsetCondition(String condition) voidsetCondition(Predicate<org.kie.api.runtime.process.ProcessContext> conditionPredicate) voidvalidateAddIncomingConnection(String type, org.kie.api.definition.process.Connection connection) voidvalidateAddOutgoingConnection(String type, org.kie.api.definition.process.Connection connection) Methods inherited from class org.jbpm.workflow.core.node.StateBasedNode
addBoundaryEvents, addTimer, getBoundaryEvents, getTimeout, getTimers, removeAllTimers, setBoundaryEvents, setTimeoutMethods inherited from class org.jbpm.workflow.core.impl.ExtendedNodeImpl
containsActions, getActions, getActionTypes, hasActions, setActionsMethods inherited from class org.jbpm.workflow.core.impl.NodeImpl
addConstraint, addInAssociation, addIncomingConnection, addInMapping, addOutAssociation, addOutgoingConnection, addOutMapping, clearIncomingConnection, clearOutgoingConnection, getConstraint, getConstraints, getConstraints, getContext, getDefaultIncomingConnections, getDefaultOutgoingConnections, getFrom, getId, getInAssociations, getIncomingConnections, getIncomingConnections, getInMapping, getInMappings, getIoSpecification, getMetaData, getMetaData, getMultiInstanceSpecification, getName, getNodeContainer, getOutAssociations, getOutgoingConnections, getOutgoingConnections, getOutMapping, getOutMappings, getParentContainer, getProcess, getTo, internalGetConstraint, removeIncomingConnection, removeOutgoingConnection, resolveContext, setConstraint, setContext, setId, setIoSpecification, setMetaData, setMetaData, setMultiInstanceSpecification, setName, setParentContainer, validateRemoveIncomingConnection, validateRemoveOutgoingConnectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jbpm.workflow.core.node.Constrainable
addConstraintMethods inherited from interface org.kie.api.definition.process.Node
getNodeTypeMethods inherited from interface org.kie.api.definition.process.WorkflowElement
getUniqueId
-
Constructor Details
-
MilestoneNode
public MilestoneNode()
-
-
Method Details
-
setCondition
-
getCondition
-
setCondition
-
canComplete
public boolean canComplete(org.kie.api.runtime.process.ProcessContext context) -
validateAddIncomingConnection
public void validateAddIncomingConnection(String type, org.kie.api.definition.process.Connection connection) - Overrides:
validateAddIncomingConnectionin classNodeImpl
-
validateAddOutgoingConnection
public void validateAddOutgoingConnection(String type, org.kie.api.definition.process.Connection connection) - Overrides:
validateAddOutgoingConnectionin classNodeImpl
-