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 Summary
Constructors Modifier Constructor Description protected
Transition(com.fasterxml.jackson.databind.JsonNode node)
The only constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFrom()
From with node this transition startsMap
getMetaData()
A map of all meta data properties stored for this transitionString
getRule()
Any rule defined for traversalString
getTo()
to which node this transition goes
-
-
-
Method Detail
-
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
-
-