Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.0.0.CR5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbpm.workflow.instance
Interface NodeInstance

All Superinterfaces:
  NodeInstance

    public interface NodeInstance

extends 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()`
`int` | `getLevel()`
`Node` | `getNode()` Return the node this node instance refers to.
`ContextInstance` | `resolveContextInstance(String contextId, Object param)`
`void` | `trigger(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(NodeInstance from,
                 String type)

### cancel

    void cancel()

### getNode

    Node getNode()

  Description copied from interface: `NodeInstance`
  Return the node this node instance refers to. The node represents the definition that this node instance was based on.

  Specified by:
    `getNode` in interface `NodeInstance`
  Returns:
    the node this node instance refers to

### resolveContextInstance

    ContextInstance resolveContextInstance(String contextId,
                                           Object param)

### getLevel

    int getLevel()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.0.0.CR5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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