Interface FixedExecutionSchedule
- All Superinterfaces:
ExecutionSchedule
A schedule which is executed once at a specified
time
or only manually (if
set to manual
).- Since:
- 4.0
-
Field Summary
Fields inherited from interface de.espirit.firstspirit.access.schedule.ExecutionSchedule
DAILY, FIXED, INTERVAL, MONTHLY
-
Method Summary
Methods inherited from interface de.espirit.firstspirit.access.schedule.ExecutionSchedule
getType, setNextExecutionTime
-
Method Details
-
isManual
boolean isManual()- Since:
- 4.0
- See Also:
-
setManual
void setManual(boolean value) - Parameters:
value
-true
if dependentScheduleEntry
should be executed manually,false
otherwise.- Since:
- 4.0
- See Also:
-
getNextExecutionTime
Returns the next execution time ornull
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.If
isManual()
is set this method always returnsnull
.- Specified by:
getNextExecutionTime
in interfaceExecutionSchedule
- Returns:
- The next execution time or
null
if the schedule is expired or the schedule is flagged asmanually
. - Since:
- 4.0
- See Also:
-