Class RemoteTaskScheduleDescriptor
- java.lang.Object
-
- org.neotropic.kuwaiba.northbound.ws.model.application.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 Summary
Fields Modifier and Type Field Description static int
TYPE_LOGIN
Execute once, on user's log instatic int
TYPE_LOOP
Execute periodically, based on the execution timestatic int
TYPE_STARTUP
Execute once, on system start-up.
-
Constructor Summary
Constructors Constructor Description RemoteTaskScheduleDescriptor()
RemoteTaskScheduleDescriptor(long startTime, int everyXMinutes, int executionType)
RemoteTaskScheduleDescriptor(TaskScheduleDescriptor schedule)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getEveryXMinutes()
int
getExecutionType()
long
getStartTime()
void
setEveryXMinutes(int everyXMinutes)
void
setExecutionType(int executionType)
void
setStartTime(long startTime)
-
-
-
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)
-
RemoteTaskScheduleDescriptor
public RemoteTaskScheduleDescriptor(TaskScheduleDescriptor schedule)
-
-
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)
-
-