Class InboxItem
- java.lang.Object
-
- com.adobe.cq.testing.client.workflow.InboxItem
-
public class InboxItem extends Object
Simple wrapper for the return JSON representing a work item in a users inbox.
-
-
Constructor Summary
Constructors Constructor Description InboxItem(com.fasterxml.jackson.databind.JsonNode rootNode)The only Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetComment()the comment set for this work itemStringgetCurrentAssignee()returns the current assignee for this work item.DategetEndTime()the end date when this work item was completedStringgetPayload()the reference to the payloadStringgetPayloadType()the payload type, either URL or JCR_PATH.DategetStartTime()The start date when this work item was startedStringgetUri()returns the URI of this work item
-
-
-
Method Detail
-
getUri
public String getUri()
returns the URI of this work item- Returns:
- the URI of the work item
-
getCurrentAssignee
public String getCurrentAssignee()
returns the current assignee for this work item.- Returns:
- current assignee
-
getStartTime
public Date getStartTime()
The start date when this work item was started- Returns:
- the start date
-
getEndTime
public Date getEndTime()
the end date when this work item was completed- Returns:
- the end date
-
getPayloadType
public String getPayloadType()
the payload type, either URL or JCR_PATH.- Returns:
- the type of payload reference
-
getPayload
public String getPayload()
the reference to the payload- Returns:
- payload reference
-
getComment
public String getComment()
the comment set for this work item- Returns:
- the comment
-
-