Package com.dtolabs.rundeck.core.jobs
Interface JobState
-
public interface JobState
The state of a job
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExecutionState
getPreviousExecutionState()
java.lang.String
getPreviousExecutionStatusString()
java.util.Set<java.lang.String>
getRunningExecutionIds()
boolean
isRunning()
-
-
-
Method Detail
-
isRunning
boolean isRunning()
- Returns:
- true if the job is currently running
-
getRunningExecutionIds
java.util.Set<java.lang.String> getRunningExecutionIds()
- Returns:
- if running, return the execution ID(s) of the execution. otherwise return null.
-
getPreviousExecutionState
ExecutionState getPreviousExecutionState()
- Returns:
- the execution state of the last execution, or null if not execution has completed.
-
getPreviousExecutionStatusString
java.lang.String getPreviousExecutionStatusString()
- Returns:
- the custom status string of the last execution, or null if not set
-
-