Class SimpleJobTrigger

  • All Implemented Interfaces:
    Serializable, IJobTrigger

    public class SimpleJobTrigger
    extends JobTrigger
    implements Serializable
    A simple way of specifying a schedule on which a job will fire as opposed to ComplexJobTrigger. The SimpleJobTrigger can meet your needs if you are looking for a way to have a job start, execute a set number of times on a regular interval and then end either after a specified number of runs or at an end date.
    Author:
    aphillips
    See Also:
    Serialized Form
    • Constructor Detail

      • SimpleJobTrigger

        public SimpleJobTrigger​(Date startTime,
                                Date endTime,
                                int repeatCount,
                                long repeatIntervalSeconds)
      • SimpleJobTrigger

        public SimpleJobTrigger()
    • Method Detail

      • getRepeatCount

        public int getRepeatCount()
      • setRepeatCount

        public void setRepeatCount​(int repeatCount)
      • getRepeatInterval

        public long getRepeatInterval()
      • setRepeatInterval

        public void setRepeatInterval​(long repeatIntervalSeconds)