Class RemoteTaskScheduleDescriptor

  • All Implemented Interfaces:
    Serializable

    public final class RemoteTaskScheduleDescriptor
    extends Object
    implements Serializable
    Describes when a task should be scheduled and executed
    Author:
    Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
    See Also:
    Serialized Form
    • 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

      • RemoteTaskScheduleDescriptor

        public RemoteTaskScheduleDescriptor()
      • RemoteTaskScheduleDescriptor

        public RemoteTaskScheduleDescriptor​(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)