Class TaskScheduleDescriptor


  • public class TaskScheduleDescriptor
    extends Object
    Describes when a task should be scheduled and executed.
    Author:
    Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
    • Field Detail

      • TYPE_STARTUP

        public static final int TYPE_STARTUP
        Execute once, on system start-up.
        See Also:
        Constant Field Values
      • TYPE_LOGIN

        public static final int TYPE_LOGIN
        Execute once, on user's log in
        See Also:
        Constant Field Values
      • TYPE_LOOP

        public static final int TYPE_LOOP
        Execute periodically, based on the execution time
        See Also:
        Constant Field Values
    • Constructor Detail

      • TaskScheduleDescriptor

        public TaskScheduleDescriptor()
      • TaskScheduleDescriptor

        public TaskScheduleDescriptor​(long startTime,
                                      int everyXMinutes,
                                      int executionType)
    • Method Detail

      • getStartTime

        public long getStartTime()
      • setStartTime

        public void setStartTime​(long startTime)
      • getEveryXMinutes

        public int getEveryXMinutes()
      • setEveryXMinutes

        public void setEveryXMinutes​(int everyXMinutes)
      • getExecutionType

        public int getExecutionType()
      • setExecutionType

        public void setExecutionType​(int executionType)