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 protectedTransition(com.fasterxml.jackson.databind.JsonNode node)The only constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFrom()From with node this transition startsMapgetMetaData()A map of all meta data properties stored for this transitionStringgetRule()Any rule defined for traversalStringgetTo()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
-
-