public class FlowController extends java.lang.Object implements FlowControl, WorkflowStatusResult
STATUS_FAILED, STATUS_SUCCEEDED
Constructor and Description |
---|
FlowController() |
Modifier and Type | Method and Description |
---|---|
void |
Continue()
execution continues
|
ControlBehavior |
getControlBehavior() |
java.lang.String |
getStatusString() |
void |
Halt(boolean success)
execution halts with success or failure
|
void |
Halt(java.lang.String statusString)
execution halts with custom status
|
boolean |
isControlled() |
boolean |
isCustomStatusString() |
boolean |
isSuccess() |
public void Halt(java.lang.String statusString)
FlowControl
Halt
in interface FlowControl
public void Halt(boolean success)
FlowControl
Halt
in interface FlowControl
public void Continue()
FlowControl
Continue
in interface FlowControl
public java.lang.String getStatusString()
getStatusString
in interface WorkflowStatusResult
public boolean isCustomStatusString()
public ControlBehavior getControlBehavior()
getControlBehavior
in interface WorkflowStatusResult
public boolean isSuccess()
isSuccess
in interface StatusResult
public boolean isControlled()