one.microproject.rpi.powercontroller.dto.ExecutionStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rpi-powercontroller-client Show documentation
Show all versions of rpi-powercontroller-client Show documentation
Java client to access RPi Power Controller via HTTP REST APIs.
The newest version!
package one.microproject.rpi.powercontroller.dto;
public enum ExecutionStatus {
WAITING,
IN_PROGRESS,
FINISHED,
ABORTED,
FAILED,
CANCELLED;
public static boolean isTerminalExecutionState(ExecutionStatus status) {
return ExecutionStatus.ABORTED.equals(status) || ExecutionStatus.CANCELLED.equals(status) ||
ExecutionStatus.FAILED.equals(status) || ExecutionStatus.FINISHED.equals(status);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy