Class InboxItem
java.lang.Object
com.adobe.cq.testing.client.workflow.InboxItem
Simple wrapper for the return JSON representing a work item in a users inbox.
-
Constructor Summary
ConstructorsConstructorDescriptionInboxItem(com.fasterxml.jackson.databind.JsonNode rootNode) The only Constructor. -
Method Summary
Modifier and TypeMethodDescriptionthe comment set for this work itemreturns the current assignee for this work item.the end date when this work item was completedthe reference to the payloadthe payload type, either URL or JCR_PATH.The start date when this work item was startedgetUri()returns the URI of this work item
-
Constructor Details
-
InboxItem
public InboxItem(com.fasterxml.jackson.databind.JsonNode rootNode) The only Constructor.- Parameters:
rootNode- the JSON node containing the data.
-
-
Method Details
-
getUri
returns the URI of this work item- Returns:
- the URI of the work item
-
getCurrentAssignee
returns the current assignee for this work item.- Returns:
- current assignee
-
getStartTime
The start date when this work item was started- Returns:
- the start date
-
getEndTime
the end date when this work item was completed- Returns:
- the end date
-
getPayloadType
the payload type, either URL or JCR_PATH.- Returns:
- the type of payload reference
-
getPayload
the reference to the payload- Returns:
- payload reference
-
getComment
the comment set for this work item- Returns:
- the comment
-