Class DisabledSchedule
java.lang.Object
com.github.kagkarlsson.scheduler.task.schedule.DisabledSchedule
- All Implemented Interfaces:
Schedule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionUsed to get the first execution-time for a schedule.getNextExecutionTime(ExecutionComplete executionComplete) booleanboolean
-
Constructor Details
-
DisabledSchedule
public DisabledSchedule()
-
-
Method Details
-
getNextExecutionTime
- Specified by:
getNextExecutionTimein interfaceSchedule
-
isDeterministic
public boolean isDeterministic()- Specified by:
isDeterministicin interfaceSchedule
-
getInitialExecutionTime
Description copied from interface:ScheduleUsed to get the first execution-time for a schedule. Simulates an ExecutionComplete event.- Specified by:
getInitialExecutionTimein interfaceSchedule
-
isDisabled
public boolean isDisabled()- Specified by:
isDisabledin interfaceSchedule
-