Package com.orchestranetworks.workflow
Class WaitTaskResumeResult
- java.lang.Object
-
- com.orchestranetworks.workflow.WaitTaskResumeResult
-
public final class WaitTaskResumeResult extends Object
Represents the result after resuming a wait task. After resuming a wait task, aWaitTaskResumeResultis returned to specify:- the workflow associated to the resumed wait task,
- if the resuming has failed,
- the error reason is the resuming has failed.
- Since:
- 5.6.1
- See Also:
WorkflowEngine.resumeWaitTask(WaitTaskResumeMessage)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWaitTaskResumeResult.ErrorReasonIndicates the reason of a resumption failure.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WaitTaskResumeResult.ErrorReasongetErrorReason()Returns the error reason if the resumption has failed.ProcessInstancegetProcessInstance()Returns the workflow associated with the resumed wait task.booleanhasFailed()Returnstrueif the resumption has failed.
-
-
-
Method Detail
-
getProcessInstance
public final ProcessInstance getProcessInstance()
Returns the workflow associated with the resumed wait task.
-
hasFailed
public final boolean hasFailed()
Returnstrueif the resumption has failed.- See Also:
getErrorReason()
-
getErrorReason
public final WaitTaskResumeResult.ErrorReason getErrorReason()
Returns the error reason if the resumption has failed.- See Also:
hasFailed()
-
-