public interface ProcessInstance extends EventListener
WorkflowProcessInstance
when using a WorkflowProcess
where the process logic is expressed as a flow chart.WorkflowProcessInstance
Modifier and Type | Field and Description |
---|---|
static int |
STATE_ABORTED |
static int |
STATE_ACTIVE |
static int |
STATE_COMPLETED |
static int |
STATE_PENDING |
static int |
STATE_SUSPENDED |
Modifier and Type | Method and Description |
---|---|
long |
getId()
The unique id of this process instance.
|
long |
getParentProcessInstanceId()
Returns parent process instance id if this process instance has a parent
|
Process |
getProcess() |
String |
getProcessId()
The id of the process definition that is related to this process instance.
|
String |
getProcessName()
The name of the process definition that is related to this process instance.
|
int |
getState()
The state of the process instance.
|
getEventTypes, signalEvent
static final int STATE_PENDING
static final int STATE_ACTIVE
static final int STATE_COMPLETED
static final int STATE_ABORTED
static final int STATE_SUSPENDED
String getProcessId()
Process getProcess()
long getId()
String getProcessName()
int getState()
long getParentProcessInstanceId()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.