public class WorkflowProcessInstanceAdapter extends ProcessInstanceAdapter implements WorkflowProcessInstance
delegateSTATE_ABORTED, STATE_ACTIVE, STATE_COMPLETED, STATE_PENDING, STATE_SUSPENDED| Constructor and Description |
|---|
WorkflowProcessInstanceAdapter(org.kie.api.runtime.process.WorkflowProcessInstance delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
org.kie.api.runtime.process.WorkflowProcessInstance |
getDelegate() |
NodeInstance |
getNodeInstance(long nodeInstanceId)
Returns the node instance with the given id, or
null
if the node instance cannot be found. |
Collection<NodeInstance> |
getNodeInstances()
Returns all node instances that are currently active
within this container.
|
Object |
getVariable(String name)
Returns the value of the variable with the given name.
|
int |
hashCode() |
void |
setVariable(String name,
Object value) |
adaptProcessInstances, getEventTypes, getId, getProcess, getProcessId, getProcessName, getState, signalEventclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetId, getProcess, getProcessId, getProcessName, getStategetEventTypes, signalEventpublic WorkflowProcessInstanceAdapter(org.kie.api.runtime.process.WorkflowProcessInstance delegate)
public org.kie.api.runtime.process.WorkflowProcessInstance getDelegate()
getDelegate in class ProcessInstanceAdapterpublic Collection<NodeInstance> getNodeInstances()
NodeInstanceContainergetNodeInstances in interface NodeInstanceContainerpublic NodeInstance getNodeInstance(long nodeInstanceId)
NodeInstanceContainernull
if the node instance cannot be found.getNodeInstance in interface NodeInstanceContainerpublic Object getVariable(String name)
WorkflowProcessInstancenull if the value of the variable is null
or if the variable cannot be found.getVariable in interface WorkflowProcessInstancename - the name of the variablenull if it cannot be foundpublic void setVariable(String name, Object value)
setVariable in interface WorkflowProcessInstancepublic int hashCode()
hashCode in class ProcessInstanceAdapterpublic boolean equals(Object obj)
equals in class ProcessInstanceAdapterCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.