Class Transition

    • Constructor Detail

      • Transition

        public Transition()
        No args constructor for use in serialization
      • Transition

        public Transition​(String nextState)
        Parameters:
        nextState -
    • Method Detail

      • getProduceEvents

        public List<ProduceEvent> getProduceEvents()
        Array of events to be produced
      • setProduceEvents

        public void setProduceEvents​(List<ProduceEvent> produceEvents)
        Array of events to be produced
      • getNextState

        public String getNextState()
        State to transition to next (Required)
      • setNextState

        public void setNextState​(String nextState)
        State to transition to next (Required)
      • isCompensate

        public boolean isCompensate()
        If set to true, triggers workflow compensation before this transition is taken. Default is false
      • setCompensate

        public void setCompensate​(boolean compensate)
        If set to true, triggers workflow compensation before this transition is taken. Default is false
      • withCompensate

        public Transition withCompensate​(boolean compensate)