|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<JobRunMode>
org.eclipse.smila.jobmanager.definitions.JobRunMode
public enum JobRunMode
Available Job Run Modes.
| Enum Constant Summary | |
|---|---|
RUNONCE
run once mode. |
|
STANDARD
standard mode (default). |
|
| Field Summary | |
|---|---|
static java.util.List<JobRunMode> |
ALL_MODES
list of all job run modes, in default priority order. |
| Method Summary | |
|---|---|
static java.util.List<JobRunMode> |
parseModes(AnySeq modesAny)
convert sequence of mode values to list of JobRunModes. |
static AnySeq |
toAny(java.util.Collection<JobRunMode> modes)
convert modes to corresponding sequence of string values. |
java.lang.String |
toString()
|
static JobRunMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static JobRunMode[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final JobRunMode STANDARD
public static final JobRunMode RUNONCE
| Field Detail |
|---|
public static final java.util.List<JobRunMode> ALL_MODES
| Method Detail |
|---|
public static JobRunMode[] values()
for (JobRunMode c : JobRunMode.values()) System.out.println(c);
public static JobRunMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<JobRunMode>
public static java.util.List<JobRunMode> parseModes(AnySeq modesAny)
throws InvalidDefinitionException
modesAny - may be null.
InvalidDefinitionException - if input contains non-value anys or invalid values.public static AnySeq toAny(java.util.Collection<JobRunMode> modes)
modes - must not be null.
|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||