Class ForEachState

    • Constructor Detail

      • ForEachState

        public ForEachState()
        No args constructor for use in serialization
    • Method Detail

      • getInputCollection

        public String getInputCollection()
        JsonPath expression selecting an array element of the states data
      • setInputCollection

        public void setInputCollection​(String inputCollection)
        JsonPath expression selecting an array element of the states data
      • withInputCollection

        public ForEachState withInputCollection​(String inputCollection)
      • getOutputCollection

        public String getOutputCollection()
        JsonPath expression specifying an array element of the states data to add the results of each iteration
      • setOutputCollection

        public void setOutputCollection​(String outputCollection)
        JsonPath expression specifying an array element of the states data to add the results of each iteration
      • withOutputCollection

        public ForEachState withOutputCollection​(String outputCollection)
      • getIterationParam

        public String getIterationParam()
        Name of the iteration parameter that can be referenced in actions/workflow. For each parallel iteration, this param should contain an unique element of the inputCollection array
      • setIterationParam

        public void setIterationParam​(String iterationParam)
        Name of the iteration parameter that can be referenced in actions/workflow. For each parallel iteration, this param should contain an unique element of the inputCollection array
      • getMax

        public int getMax()
        Specifies how upper bound on how many iterations may run in parallel
      • setMax

        public void setMax​(int max)
        Specifies how upper bound on how many iterations may run in parallel
      • getActions

        public List<Action> getActions()
        Actions to be executed for each of the elements of inputCollection
      • setActions

        public void setActions​(List<Action> actions)
        Actions to be executed for each of the elements of inputCollection
      • getWorkflowId

        public String getWorkflowId()
        Unique Id of a workflow to be executed for each of the elements of inputCollection
      • setWorkflowId

        public void setWorkflowId​(String workflowId)
        Unique Id of a workflow to be executed for each of the elements of inputCollection
      • isUsedForCompensation

        public boolean isUsedForCompensation()
        If true, this state is used to compensate another state. Default is false
      • setUsedForCompensation

        public void setUsedForCompensation​(boolean usedForCompensation)
        If true, this state is used to compensate another state. Default is false
      • withUsedForCompensation

        public ForEachState withUsedForCompensation​(boolean usedForCompensation)