public interface ExecutionSchedule
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Date |
getNextExecutionTime()
Returns the next execution time or
null for expired tasks. |
int |
getType()
One of
DAILY (for DailyExecutionSchedule ),
FIXED (for FixedExecutionSchedule ), INTERVAL
(for IntervalExecutionSchedule ), or MONTHLY (for
MonthlyExecutionSchedule ). |
void |
setNextExecutionTime(Date value)
Provide the
Date the ScheduleEntry should be executed next time. |
static final int DAILY
getType()
,
Constant Field Valuesstatic final int FIXED
getType()
,
Constant Field Valuesstatic final int INTERVAL
getType()
,
Constant Field Valuesstatic final int MONTHLY
getType()
,
Constant Field Values@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.
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.getNextExecutionTime()
int getType()
DAILY
(for DailyExecutionSchedule
),
FIXED
(for FixedExecutionSchedule
), INTERVAL
(for IntervalExecutionSchedule
), or MONTHLY
(for
MonthlyExecutionSchedule
).Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408