Class WorkflowModel.Transition

java.lang.Object
com.adobe.cq.testing.client.workflow.WorkflowModel.Transition
Enclosing class:
WorkflowModel

public class WorkflowModel.Transition extends Object
Simple inner class wrapping a JSON node defining a transition between nodes
  • Constructor Details

    • Transition

      protected Transition(com.fasterxml.jackson.databind.JsonNode node)
      The only constructor
      Parameters:
      node - the JSON node containing the transition info
  • Method Details

    • getFrom

      public String getFrom()
      From with node this transition starts
      Returns:
      the node id
    • getTo

      public String getTo()
      to which node this transition goes
      Returns:
      the node id
    • getRule

      public String getRule()
      Any rule defined for traversal
      Returns:
      the rule
    • getMetaData

      public Map getMetaData()
      A map of all meta data properties stored for this transition
      Returns:
      a map of all meta data properties, where the key is the name of the property