Package com.github.kagkarlsson.scheduler
Class SchedulerState.SettableSchedulerState
- java.lang.Object
-
- com.github.kagkarlsson.scheduler.SchedulerState.SettableSchedulerState
-
- All Implemented Interfaces:
SchedulerState
- Enclosing interface:
- SchedulerState
public static class SchedulerState.SettableSchedulerState extends Object implements SchedulerState
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.github.kagkarlsson.scheduler.SchedulerState
SchedulerState.SettableSchedulerState
-
-
Constructor Summary
Constructors Constructor Description SettableSchedulerState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisPaused()booleanisShuttingDown()booleanisStarted()voidsetIsShuttingDown()voidsetPaused(boolean isPaused)voidsetStarted()
-
-
-
Method Detail
-
isShuttingDown
public boolean isShuttingDown()
- Specified by:
isShuttingDownin interfaceSchedulerState
-
isStarted
public boolean isStarted()
- Specified by:
isStartedin interfaceSchedulerState
-
isPaused
public boolean isPaused()
- Specified by:
isPausedin interfaceSchedulerState
-
setIsShuttingDown
public void setIsShuttingDown()
-
setStarted
public void setStarted()
-
setPaused
public void setPaused(boolean isPaused)
-
-