public interface IBpmProcessStep
Modifier and Type | Field and Description |
---|---|
static int |
STEP_STATUS_CANCELLED
Process cancelled
|
static int |
STEP_STATUS_ENDED
Step successfully completed
|
static int |
STEP_STATUS_FAILED
Step failed
|
static int |
STEP_STATUS_RESUMED
Process Resumed
|
static int |
STEP_STATUS_STARTED
Step was started
|
static int |
STEP_STATUS_SUSPENDED
Process suspended
|
static int |
STEP_STATUS_UNDEFINED
Step status is undefined (for newly added steps)
|
Modifier and Type | Method and Description |
---|---|
void |
addError(String errorMessage,
String errorStackTrace,
String serviceName)
Adds error to this step
|
void |
addTaskUser(String taskUser)
Adds a task user for this step
|
IBpmProcessCustomFields |
getCustomFields()
Returns custom fields for this step
|
Date |
getEndDate()
Date/time when this step was ended
|
List<IBpmProcessError> |
getErrors()
Returns list of errors attached to this step
|
String |
getName()
Returns step name
|
IBpmProcess |
getProcess()
Returns process instance for this step
|
Date |
getStartDate()
Date/time when this step was started
|
int |
getStatus()
Returns status of this step
|
IBpmProcessStepDefinition |
getStepDefinition()
Returns step definition for this step
|
String |
getStepID()
Returns this stepID
|
String |
getTaskID()
Returns taskID for this step
|
String |
getTaskStatus()
Returns task status for this step
|
String |
getTaskTypeID()
Returns taskTypeID for this step
|
List<String> |
getTaskUsers()
Returns list of all task users for this step
|
void |
removeTaskUser(String taskUser)
Removes task user from this step
|
void |
setName(String name)
Sets step name
|
void |
setStatus(int status)
Sets status of this step
|
void |
setTaskID(String taskID)
Sets taskID for this step
|
void |
setTaskStatus(String taskStatus)
Sets task status for this step
|
void |
setTaskTypeID(String taskTypeID)
Sets taskTypeID for this step
|
static final int STEP_STATUS_UNDEFINED
static final int STEP_STATUS_STARTED
static final int STEP_STATUS_ENDED
static final int STEP_STATUS_FAILED
static final int STEP_STATUS_SUSPENDED
static final int STEP_STATUS_RESUMED
static final int STEP_STATUS_CANCELLED
IBpmProcess getProcess()
IBpmProcessStepDefinition getStepDefinition() throws Exception
Exception
Date getStartDate() throws Exception
Exception
int getStatus()
void setStatus(int status)
status
- String getName()
void setName(String name)
String getTaskID()
void setTaskID(String taskID)
taskID
- String getTaskStatus()
void setTaskStatus(String taskStatus)
taskStatus
- String getTaskTypeID()
void setTaskTypeID(String taskTypeID)
taskTypeID
- void addTaskUser(String taskUser)
taskUser
- void removeTaskUser(String taskUser)
taskUser
- IBpmProcessCustomFields getCustomFields()
List<IBpmProcessError> getErrors() throws Exception
Exception