public final class WaitTaskResumeResult extends Object
WaitTaskResumeResult
is returned to specify:
WorkflowEngine.resumeWaitTask(WaitTaskResumeMessage)
Modifier and Type | Class and Description |
---|---|
static class |
WaitTaskResumeResult.ErrorReason
Indicates the reason of a resumption failure.
|
Modifier and Type | Method and Description |
---|---|
WaitTaskResumeResult.ErrorReason |
getErrorReason()
Returns the error reason if the resumption has failed.
|
ProcessInstance |
getProcessInstance()
Returns the workflow associated with the resumed wait task.
|
boolean |
hasFailed()
Returns
true if the resumption has failed. |
public final ProcessInstance getProcessInstance()
public final boolean hasFailed()
true
if the resumption has failed.getErrorReason()
public final WaitTaskResumeResult.ErrorReason getErrorReason()
hasFailed()