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 |
SLA_ABORTED |
static int |
SLA_MET |
static int |
SLA_NA |
static int |
SLA_PENDING |
static int |
SLA_VIOLATED |
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
static final int SLA_NA
static final int SLA_PENDING
static final int SLA_MET
static final int SLA_VIOLATED
static final int SLA_ABORTED
String getProcessId()
Process getProcess()
long getId()
String getProcessName()
int getState()
long getParentProcessInstanceId()
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.