jBPM :: Flow 6.0.0.Beta2

org.jbpm.workflow.instance
Interface NodeInstance

All Superinterfaces:
org.kie.api.runtime.process.NodeInstance

public interface NodeInstance
extends org.kie.api.runtime.process.NodeInstance

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 Summary
 void cancel()
           
 org.kie.api.definition.process.Node getNode()
           
 ContextInstance resolveContextInstance(String contextId, Object param)
           
 void trigger(org.kie.api.runtime.process.NodeInstance from, String type)
           
 
Methods inherited from interface org.kie.api.runtime.process.NodeInstance
getId, getNodeId, getNodeInstanceContainer, getNodeName, getProcessInstance, getVariable, setVariable
 

Method Detail

trigger

void trigger(org.kie.api.runtime.process.NodeInstance from,
             String type)

cancel

void cancel()

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)

jBPM :: Flow 6.0.0.Beta2

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.