Class HistoryItem
- java.lang.Object
-
- com.adobe.cq.testing.client.workflow.HistoryItem
-
public class HistoryItem extends Object
Simple wrapper around the History Item info returned by the server
-
-
Field Summary
Fields Modifier and Type Field Description static StringSTATUS_ACTIVEstatic StringSTATUS_COMPLETED
-
Constructor Summary
Constructors Constructor Description HistoryItem(com.fasterxml.jackson.databind.JsonNode rootNode)the only constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAction()The action of this history item (i.e NodeTransition etc..)StringgetComment()The comment information available in the history itemDategetEndDate()The end date of this history itemStringgetProcess()The title of the step that is related to this history itemDategetStartDate()The start date of this history itemStringgetStatus()The status of this history item (i.e Active, Completed etc..)StringgetUser()The user id that performed this step in the history item
-
-
-
Field Detail
-
STATUS_ACTIVE
public static final String STATUS_ACTIVE
- See Also:
- Constant Field Values
-
STATUS_COMPLETED
public static final String STATUS_COMPLETED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getStatus
public String getStatus()
The status of this history item (i.e Active, Completed etc..)- Returns:
- status
-
getProcess
public String getProcess()
The title of the step that is related to this history item- Returns:
- process title
-
getUser
public String getUser()
The user id that performed this step in the history item- Returns:
- userid
-
getAction
public String getAction()
The action of this history item (i.e NodeTransition etc..)- Returns:
- comment
-
getComment
public String getComment()
The comment information available in the history item- Returns:
- comment
-
getStartDate
public Date getStartDate()
The start date of this history item- Returns:
- start date
-
getEndDate
public Date getEndDate()
The end date of this history item- Returns:
- end date
-
-