public static class GoalStateOverride.Status
extends java.lang.Object
| Operation | Resulting status (override + progress) |
| (Initial state) | NONE + COMPLETE (==INACTIVE) |
| "Pause" triggered, kill command issued | PAUSED + PENDING |
| TASK_KILLED status received | PAUSED + IN_PROGRESS |
| Task relaunch in paused state has been triggered | PAUSED + COMPLETE |
| "Start" triggered, kill command issued | NONE + PENDING |
| TASK_KILLED status received | NONE + IN_PROGRESS |
| Task relaunch in normal state has been triggered | NONE + COMPLETE (==INACTIVE) |
| Modifier and Type | Field and Description |
|---|---|
static GoalStateOverride.Status |
INACTIVE
The override status of a task for which no overrides are applicable, and which has reached its goal state.
|
GoalStateOverride.Progress |
progress
The current state for transitioning to the
target in question. |
GoalStateOverride |
target
The target override state for this task.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
toString() |
static GoalStateOverride.Progress |
translateStatus(Status planStatus) |
public static final GoalStateOverride.Status INACTIVE
public final GoalStateOverride target
GoalStateOverride.NONE in the case of no override.public final GoalStateOverride.Progress progress
target in question. May be GoalStateOverride.NONE in the
case of no override being applicable.public static GoalStateOverride.Progress translateStatus(Status planStatus)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object