Class Repeat

    • Constructor Detail

      • Repeat

        public Repeat()
    • Method Detail

      • getExpression

        public String getExpression()
        Expression evaluated against SubFlow state data. SubFlow will repeat execution as long as this expression is true or until the max property count is reached
      • setExpression

        public void setExpression​(String expression)
        Expression evaluated against SubFlow state data. SubFlow will repeat execution as long as this expression is true or until the max property count is reached
      • withExpression

        public Repeat withExpression​(String expression)
      • isCheckBefore

        public boolean isCheckBefore()
        If true, the expression is evaluated before each repeat execution, if false the expression is evaluated after each repeat execution
      • setCheckBefore

        public void setCheckBefore​(boolean checkBefore)
        If true, the expression is evaluated before each repeat execution, if false the expression is evaluated after each repeat execution
      • withCheckBefore

        public Repeat withCheckBefore​(boolean checkBefore)
      • getMax

        public int getMax()
        Sets the maximum amount of repeat executions
      • setMax

        public void setMax​(int max)
        Sets the maximum amount of repeat executions
      • withMax

        public Repeat withMax​(int max)
      • isContinueOnError

        public boolean isContinueOnError()
        If true, repeats executions in a case unhandled errors propagate from the sub-workflow to this state
      • setContinueOnError

        public void setContinueOnError​(boolean continueOnError)
        If true, repeats executions in a case unhandled errors propagate from the sub-workflow to this state
      • withContinueOnError

        public Repeat withContinueOnError​(boolean continueOnError)
      • getStopOnEvents

        public List<String> getStopOnEvents()
        List referencing defined consumed workflow events. SubFlow will repeat execution until one of the defined events is consumed, or until the max property count is reached
      • setStopOnEvents

        public void setStopOnEvents​(List<String> stopOnEvents)
        List referencing defined consumed workflow events. SubFlow will repeat execution until one of the defined events is consumed, or until the max property count is reached
      • withStopOnEvents

        public Repeat withStopOnEvents​(List<String> stopOnEvents)