|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExecutionSchedule
Field Summary | |
---|---|
static int |
DAILY
Type indicator for daily scheduled execution. |
static int |
FIXED
Type indicator for fixed scheduled execution. |
static int |
INTERVAL
Type indicator for interval scheduled execution. |
static int |
MONTHLY
Type indicator for monthly scheduled execution. |
Method Summary | |
---|---|
Date |
getNextExecutionTime()
Returns the next execution time or null for expired tasks. |
int |
getType()
One of ExecutionSchedule.DAILY (for DailyExecutionSchedule ),
ExecutionSchedule.FIXED (for FixedExecutionSchedule ), ExecutionSchedule.INTERVAL
(for IntervalExecutionSchedule ), or ExecutionSchedule.MONTHLY (for
MonthlyExecutionSchedule ). |
void |
setNextExecutionTime(Date value)
Provide the Date the ScheduleEntry should be executed next time. |
Field Detail |
---|
static final int DAILY
ExecutionSchedule.getType()
,
Constant Field Valuesstatic final int FIXED
ExecutionSchedule.getType()
,
Constant Field Valuesstatic final int INTERVAL
ExecutionSchedule.getType()
,
Constant Field Valuesstatic final int MONTHLY
ExecutionSchedule.getType()
,
Constant Field ValuesMethod Detail |
---|
@Nullable Date getNextExecutionTime()
null
for expired tasks.
Please notice that the real execution time may differ from this value e.g. beacause the runtime of the tasks and
the setting of the parallel execution mode
conflicts with the
returned time.
ExecutionSchedule.setNextExecutionTime(java.util.Date)
void setNextExecutionTime(Date value)
Date
the ScheduleEntry
should be executed next time.
value
- the Date
the ScheduleEntry
should be executed next time.ExecutionSchedule.getNextExecutionTime()
int getType()
ExecutionSchedule.DAILY
(for DailyExecutionSchedule
),
ExecutionSchedule.FIXED
(for FixedExecutionSchedule
), ExecutionSchedule.INTERVAL
(for IntervalExecutionSchedule
), or ExecutionSchedule.MONTHLY
(for
MonthlyExecutionSchedule
).
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |