Class Action

    • Constructor Detail

      • Action

        public Action()
    • Method Detail

      • getId

        public String getId()
        Unique action identifier
      • setId

        public void setId​(String id)
        Unique action identifier
      • getName

        public String getName()
        Unique action definition name
      • setName

        public void setName​(String name)
        Unique action definition name
      • setFunctionRef

        public void setFunctionRef​(FunctionRef functionRef)
      • getEventRef

        public EventRef getEventRef()
        Event References
      • setEventRef

        public void setEventRef​(EventRef eventRef)
        Event References
      • getSubFlowRef

        public SubFlowRef getSubFlowRef()
      • setSubFlowRef

        public void setSubFlowRef​(SubFlowRef subFlowRef)
      • getSleep

        public Sleep getSleep()
      • setSleep

        public void setSleep​(Sleep sleep)
      • getRetryRef

        public String getRetryRef()
        References a defined workflow retry definition. If not defined the default retry policy is assumed
      • setRetryRef

        public void setRetryRef​(String retryRef)
        References a defined workflow retry definition. If not defined the default retry policy is assumed
      • withRetryRef

        public Action withRetryRef​(String retryRef)
      • getNonRetryableErrors

        public List<String> getNonRetryableErrors()
        List of unique references to defined workflow errors for which the action should not be retried. Used only when `autoRetries` is set to `true`
      • setNonRetryableErrors

        public void setNonRetryableErrors​(List<String> nonRetryableErrors)
        List of unique references to defined workflow errors for which the action should not be retried. Used only when `autoRetries` is set to `true`
      • withNonRetryableErrors

        public Action withNonRetryableErrors​(List<String> nonRetryableErrors)
      • getRetryableErrors

        public List<String> getRetryableErrors()
        List of unique references to defined workflow errors for which the action should be retried. Used only when `autoRetries` is set to `false`
      • setRetryableErrors

        public void setRetryableErrors​(List<String> retryableErrors)
        List of unique references to defined workflow errors for which the action should be retried. Used only when `autoRetries` is set to `false`
      • withRetryableErrors

        public Action withRetryableErrors​(List<String> retryableErrors)
      • setActionDataFilter

        public void setActionDataFilter​(ActionDataFilter actionDataFilter)
      • getCondition

        public String getCondition()
        Expression, if defined, must evaluate to true for this action to be performed. If false, action is disregarded
      • setCondition

        public void setCondition​(String condition)
        Expression, if defined, must evaluate to true for this action to be performed. If false, action is disregarded
      • withCondition

        public Action withCondition​(String condition)