Class Error

    • Constructor Detail

      • Error

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

        public Error​(String error,
                     Transition transition)
        Parameters:
        error -
        transition -
    • Method Detail

      • getError

        public String getError()
        Domain-specific error name, or '*' to indicate all possible errors (Required)
      • setError

        public void setError​(String error)
        Domain-specific error name, or '*' to indicate all possible errors (Required)
      • getCode

        public String getCode()
        Error code. Can be used in addition to the name to help runtimes resolve to technical errors/exceptions. Should not be defined if error is set to '*'
      • setCode

        public void setCode​(String code)
        Error code. Can be used in addition to the name to help runtimes resolve to technical errors/exceptions. Should not be defined if error is set to '*'
      • getRetryRef

        public String getRetryRef()
        References a unique name of a retry definition.
      • setRetryRef

        public void setRetryRef​(String retryRef)
        References a unique name of a retry definition.
      • withRetryRef

        public Error withRetryRef​(String retryRef)
      • getTransition

        public Transition getTransition()
        (Required)
      • setTransition

        public void setTransition​(Transition transition)
        (Required)
      • getEnd

        public End getEnd()
        State end definition
      • setEnd

        public void setEnd​(End end)
        State end definition
      • withEnd

        public Error withEnd​(End end)