Class WorkflowInstance
java.lang.Object
com.adobe.cq.testing.client.workflow.WorkflowInstance
Wraps a Workflow Instance info returned from server as JSON.
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowInstance(com.fasterxml.jackson.databind.JsonNode rootNode) The only constructor -
Method Summary
Modifier and TypeMethodDescriptiontime when this instance was completed/abortedgetId()returns the id of this workflow instancereturns who started this workflow instanceThe model used for this workflow instancethe payload referenceThe type of payload reference ,either URL or JCR_PATHtime when the workflow instance was startedreturns the current state of this workflow instance, seeWorkflowClient.StatusA map of all currently active work items belonging to this instance
-
Constructor Details
-
WorkflowInstance
public WorkflowInstance(com.fasterxml.jackson.databind.JsonNode rootNode) The only constructor- Parameters:
rootNode- the JSON node containing all infos
-
-
Method Details
-
getId
-
getStatus
returns the current state of this workflow instance, seeWorkflowClient.Status- Returns:
- the current status.
-
getModelId
-
getPayloadType
The type of payload reference ,either URL or JCR_PATH- Returns:
- the payload type
-
getPayload
-
getInitiator
-
getStartTime
-
getEndTime
-
getWorkItemIds
-
getWorkItems
-