Class Transition


public class Transition extends EventInformation
  • Field Details

    • acls

      private String[] acls
    • isInvokableOnlyFromStm

      private boolean isInvokableOnlyFromStm
    • newStateId

      private String newStateId
    • newFlowId

      private String newFlowId
    • retrievalTransition

      private boolean retrievalTransition
    • stateId

      private String stateId
    • flowId

      private String flowId
    • parentState

      private StateDescriptor parentState
  • Constructor Details

    • Transition

      public Transition(EventInformation eventInformation)
    • Transition

      public Transition()
  • Method Details

    • fromEventInformation

      public Transition fromEventInformation(EventInformation eventInformation)
    • getNewStateId

      public String getNewStateId()
    • setNewStateId

      public void setNewStateId(String newStateId)
    • transitionAction

      public Transition transitionAction(STMTransitionAction<?> transitionAction)
      Overrides:
      transitionAction in class EventInformation
    • newStateId

      public Transition newStateId(String newStateId)
    • setNewFlowId

      public void setNewFlowId(String newFlowId)
    • newFlowId

      public Transition newFlowId(String newFlowId)
    • getNewFlowId

      public String getNewFlowId()
    • isRetrievalTransition

      public boolean isRetrievalTransition()
    • setRetrievalTransition

      public void setRetrievalTransition(boolean retrievalTransition)
    • getStateId

      public String getStateId()
    • setStateId

      public void setStateId(String stateId)
    • id

      public Transition id(String stateId)
      Overrides:
      id in class EventInformation
    • getParentState

      public StateDescriptor getParentState()
    • setParentState

      public void setParentState(StateDescriptor parentState)
    • getFlowId

      public String getFlowId()
    • setFlowId

      public void setFlowId(String flowId)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getAcls

      public String[] getAcls()
    • setAclString

      public void setAclString(String acl)
    • acl

      public Transition acl(String acl)
      This is to support fluent API.
      Parameters:
      acl - the acls which are comma separated
      Returns:
      the Transition
    • setAcls

      public void setAcls(String[] acls)
    • isInvokableOnlyFromStm

      public boolean isInvokableOnlyFromStm()
    • setInvokableOnlyFromStm

      public void setInvokableOnlyFromStm(boolean isInvokableOnlyFromStm)
    • makeInvokableOnlyFromStm

      public Transition makeInvokableOnlyFromStm()
    • toXml

      public String toXml()
    • transitionTo

      public Transition transitionTo(String stateId, String... flowId)
    • state

      public StateDescriptor state()