Package com.yworkflow.instance.model
Class WorkflowInstanceStatusInfo
java.lang.Object
com.yworkflow.instance.model.WorkflowInstanceStatusInfo
Representation of the workflow instance's current status.
- Since:
- 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for simple statusesWorkflowInstanceStatusInfo(WorkflowInstanceStatus status, ProcessingDetails details) Constructor for a PROCESSING status with details -
Method Summary
Modifier and TypeMethodDescriptionDetails of a transition being processedStatus of the workflow instance
-
Constructor Details
-
WorkflowInstanceStatusInfo
Constructor for simple statuses- Parameters:
status- workflow instance status
-
WorkflowInstanceStatusInfo
Constructor for a PROCESSING status with details- Parameters:
status- workflow instance statusdetails- processing details (only if in PROCESSING status)
-
-
Method Details
-
getStatus
Status of the workflow instance- Returns:
- the status
-
getProcessingDetails
Details of a transition being processed- Returns:
- the processing details
-