[Minor] Added ExecutionHandlerState methods
This commit is contained in:
parent
4c9458f1c3
commit
5230e80879
|
@ -4,4 +4,16 @@ public enum ExecutionHandlerState {
|
|||
Running,
|
||||
HaltNew,
|
||||
Paused;
|
||||
|
||||
public boolean isRunning() {
|
||||
return this == Running;
|
||||
}
|
||||
|
||||
public boolean isPaused() {
|
||||
return this == Paused;
|
||||
}
|
||||
|
||||
public boolean isHaltNew() {
|
||||
return this == HaltNew;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue