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 Details

  • 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

      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