Interface NodeInstance

All Superinterfaces:
KogitoNodeInstance, 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, LambdaSubProcessNodeInstance, MilestoneNodeInstance, NodeInstanceImpl, RuleSetNodeInstance, SplitInstance, StartNodeInstance, StateBasedNodeInstance, StateNodeInstance, SubProcessNodeInstance, ThrowLinkNodeInstance, TimerNodeInstance, WorkItemNodeInstance

public interface NodeInstance extends KogitoNodeInstance
Represents 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).
  • Method Details

    • trigger

      void trigger(KogitoNodeInstance from, String type)
    • cancel

      void cancel()
    • cancel

      void cancel(KogitoNodeInstance.CancelType type)
    • getNode

      org.kie.api.definition.process.Node getNode()
      Specified by:
      getNode in interface org.kie.api.runtime.process.NodeInstance
    • resolveContextInstance

      ContextInstance resolveContextInstance(String contextId, Object param)
    • getLevel

      int getLevel()
    • setDynamicParameters

      void setDynamicParameters(Map<String,Object> dynamicParameters)
    • getSlaCompliance

      int getSlaCompliance()
    • getSlaTimerId

      String getSlaTimerId()
    • internalSetTriggerTime

      void internalSetTriggerTime(Date date)
    • getKogitoProcessInstance

      default KogitoProcessInstance getKogitoProcessInstance()