[Minor] Added ExecutionHandlerState methods

This commit is contained in:
Robert von Burg 2023-02-27 10:49:59 +01:00
parent 4c9458f1c3
commit 5230e80879
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
1 changed files with 12 additions and 0 deletions

View File

@ -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;
}
}