Interface KogitoNodeInstance
- All Superinterfaces:
org.kie.api.runtime.process.NodeInstance
- All Known Subinterfaces:
KogitoWorkItemNodeInstance
public interface KogitoNodeInstance
extends org.kie.api.runtime.process.NodeInstance
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns the time when this node instance was left, might be null if node instance is still activeThe id of the node definition this node instance refers to.The id of the node instance.Returns the time when this node instance was triggereddefault booleanbooleanReturns if this node has been executed as the first one of a retrigger operationMethods inherited from interface org.kie.api.runtime.process.NodeInstance
getId, getNode, getNodeId, getNodeInstanceContainer, getNodeName, getProcessInstance, getVariable, setVariable
-
Method Details
-
isCancelled
default boolean isCancelled() -
getCancelType
KogitoNodeInstance.CancelType getCancelType() -
getStringId
String getStringId()The id of the node instance. This is unique within the node instance container this node instance lives in.- Returns:
- the id of the node instance
-
getNodeDefinitionId
String getNodeDefinitionId()The id of the node definition this node instance refers to. The node represents the definition that this node instance was based on.- Returns:
- the definition id of the node this node instance refers to
-
getTriggerTime
Date getTriggerTime()Returns the time when this node instance was triggered- Returns:
- actual trigger time
-
getLeaveTime
Date getLeaveTime()Returns the time when this node instance was left, might be null if node instance is still active- Returns:
- actual leave time
-
getSlaDueDate
Date getSlaDueDate() -
getMetaData
-
isRetrigger
boolean isRetrigger()Returns if this node has been executed as the first one of a retrigger operation- Returns:
- true if this a retrigger node (see above), false otherwise
-