Class LimitDecider

  • All Implemented Interfaces:
    JobExecutionDecider

    public class LimitDecider
    extends java.lang.Object
    implements JobExecutionDecider
    This decider will return "CONTINUE" until the limit it reached, at which point it will return "COMPLETE".
    Since:
    2.0
    Author:
    Dan Garrette
    • Constructor Detail

      • LimitDecider

        public LimitDecider()
    • Method Detail

      • setLimit

        public void setLimit​(int limit)
        Parameters:
        limit - number of times to return "CONTINUE"