Class HistoryItem
java.lang.Object
com.adobe.cq.testing.client.workflow.HistoryItem
Simple wrapper around the History Item info returned by the server
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHistoryItem(com.fasterxml.jackson.databind.JsonNode rootNode) the only constructor -
Method Summary
Modifier and TypeMethodDescriptionThe action of this history item (i.e NodeTransition etc..)The comment information available in the history itemThe end date of this history itemThe title of the step that is related to this history itemThe start date of this history itemThe status of this history item (i.e Active, Completed etc..)getUser()The user id that performed this step in the history item
-
Field Details
-
STATUS_ACTIVE
- See Also:
-
STATUS_COMPLETED
- See Also:
-
-
Constructor Details
-
HistoryItem
public HistoryItem(com.fasterxml.jackson.databind.JsonNode rootNode) the only constructor- Parameters:
rootNode- the JSON node containing all the infos
-
-
Method Details
-
getStatus
The status of this history item (i.e Active, Completed etc..)- Returns:
- status
-
getProcess
The title of the step that is related to this history item- Returns:
- process title
-
getUser
The user id that performed this step in the history item- Returns:
- userid
-
getAction
The action of this history item (i.e NodeTransition etc..)- Returns:
- comment
-
getComment
The comment information available in the history item- Returns:
- comment
-
getStartDate
The start date of this history item- Returns:
- start date
-
getEndDate
The end date of this history item- Returns:
- end date
-