|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<RunOutcome>
com.atlassian.scheduler.status.RunOutcome
@PublicApi public enum RunOutcome
Indicates what the result was the last time that this job attempted to fire.
| Enum Constant Summary | |
|---|---|
ABORTED
We did not start the job at the scheduled time because it was not ready. |
|
FAILED
The job was started but it either threw an exception or returned a JobRunnerResponse
that indicated the job had failed. |
|
SUCCESS
The job ran successfully. |
|
UNAVAILABLE
The job had no job runner registered when an attempt was made to fire it. |
|
| Method Summary | |
|---|---|
static RunOutcome |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RunOutcome[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final RunOutcome SUCCESS
successfully.
public static final RunOutcome UNAVAILABLE
JobRunnerResponse.
public static final RunOutcome ABORTED
RunMode.RUN_LOCALLY and another node registering afterwards
using RunMode.RUN_ONCE_PER_CLUSTERJobRunnerResponse
that indicated the job had been aborted.
public static final RunOutcome FAILED
JobRunnerResponse
that indicated the job had failed.
| Method Detail |
|---|
public static RunOutcome[] values()
for (RunOutcome c : RunOutcome.values()) System.out.println(c);
public static RunOutcome valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||