Package org.jbpm.workflow.instance
Interface NodeInstance
-
- All Superinterfaces:
org.kie.api.runtime.process.NodeInstance
- All Known Implementing Classes:
ActionNodeInstance,AsyncEventNodeInstance,BoundaryEventNodeInstance,CatchLinkNodeInstance,CompositeContextNodeInstance,CompositeNodeInstance,CompositeNodeInstance.CompositeNodeEndInstance,CompositeNodeInstance.CompositeNodeStartInstance,DynamicNodeInstance,EndNodeInstance,EventNodeInstance,EventSubProcessNodeInstance,ExtendedNodeInstanceImpl,FaultNodeInstance,ForEachNodeInstance,ForEachNodeInstance.ForEachJoinNodeInstance,ForEachNodeInstance.ForEachSplitNodeInstance,HumanTaskNodeInstance,JoinInstance,MilestoneNodeInstance,NodeInstanceImpl,RuleSetNodeInstance,SplitInstance,StartNodeInstance,StateBasedNodeInstance,StateNodeInstance,SubProcessNodeInstance,ThrowLinkNodeInstance,TimerNodeInstance,WorkItemNodeInstance
public interface NodeInstance extends org.kie.api.runtime.process.NodeInstanceRepresents a node instance in a RuleFlow. This is the runtime counterpart of a node, containing all runtime state. Node instance classes also contain the logic on what to do when it is being triggered (start executing) or completed (end of execution).
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classNodeInstance.CancelType
-
Field Summary
Fields Modifier and Type Field Description static StringMETADATA_WRAP_ASYNC_NODE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancel()voidcancel(NodeInstance.CancelType type)intgetLevel()org.kie.api.definition.process.NodegetNode()intgetSlaCompliance()DategetSlaDueDate()LonggetSlaTimerId()DategetTriggerTime()ContextInstanceresolveContextInstance(String contextId, Object param)voidsetDynamicParameters(Map<String,Object> dynamicParameters)voidtrigger(org.kie.api.runtime.process.NodeInstance from, String type)
-
-
-
Field Detail
-
METADATA_WRAP_ASYNC_NODE
static final String METADATA_WRAP_ASYNC_NODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
trigger
void trigger(org.kie.api.runtime.process.NodeInstance from, String type)
-
cancel
void cancel()
-
cancel
void cancel(NodeInstance.CancelType type)
-
getNode
org.kie.api.definition.process.Node getNode()
- Specified by:
getNodein interfaceorg.kie.api.runtime.process.NodeInstance
-
resolveContextInstance
ContextInstance resolveContextInstance(String contextId, Object param)
-
getLevel
int getLevel()
-
getSlaCompliance
int getSlaCompliance()
-
getSlaDueDate
Date getSlaDueDate()
-
getSlaTimerId
Long getSlaTimerId()
-
getTriggerTime
Date getTriggerTime()
-
-