|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProcessContext
The ProcessContext interface represents the state of the process
Nested Class Summary | |
---|---|
static class |
ProcessContext.ProcessStatus
The Status enum marks the status of the process |
Method Summary | |
---|---|
int |
getActionStepsCount()
Gets the total number of ActionSteps in this process |
Object |
getParameter(String key)
Gets a process wide parameter |
Map<String,Object> |
getParameters()
Gets the process wide parameters' map |
ProcessContext.ProcessStatus |
getStatus()
Gets the current process status |
boolean |
isStopped()
Check if the process was stoped before it was finished |
void |
setParameter(String key,
Object value)
Sets a process wide parameter |
void |
stop(boolean fail)
Stop the running process, will not continue to the next step. |
Method Detail |
---|
void stop(boolean fail)
fail
- true if the process was stopped because of a failure. Will set the Status to FAILED.boolean isStopped()
ProcessContext.ProcessStatus getStatus()
Object getParameter(String key)
key
- The parameter's key
void setParameter(String key, Object value)
key
- The parameter's keyvalue
- The parameter's valueMap<String,Object> getParameters()
int getActionStepsCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |