|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Process
The Process interface represents a process that is created from a process definitions file
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.javasteps.ProcessContext |
---|
ProcessContext.ProcessStatus |
Method Summary | |
---|---|
void |
addProcessListener(ProcessListener listener)
Adds a ProcessListener to the process to get process execution events. |
StepAction |
getExceptionHandler()
|
void |
registerExceptionHandler(StepAction handler)
Registers a process exception handler. |
void |
reset()
Resets the process state. |
ProcessContext.ProcessStatus |
start()
Starts the process from the first step |
Methods inherited from interface org.javasteps.ProcessContext |
---|
getActionStepsCount, getParameter, getParameters, getStatus, isStopped, setParameter, stop |
Method Detail |
---|
ProcessContext.ProcessStatus start()
void registerExceptionHandler(StepAction handler)
handler
- The exception handlerStepAction getExceptionHandler()
void addProcessListener(ProcessListener listener)
listener
- The process listenervoid reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |