|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<JobArgs.ExecutionMode> com.splunk.JobArgs.ExecutionMode
public static enum JobArgs.ExecutionMode
Specifies how to create a job using the JobCollection.create(java.lang.String)
method.
Enum Constant Summary | |
---|---|
BLOCKING
Runs a search synchronously and does not return a search job until the search has finished. |
|
NORMAL
Runs a search asynchronously and returns a search job immediately. |
|
ONESHOT
Runs a blocking search that is scheduled to run immediately, then returns the results of the search once completed. |
Method Summary | |
---|---|
java.lang.String |
toString()
|
static JobArgs.ExecutionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static JobArgs.ExecutionMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JobArgs.ExecutionMode NORMAL
public static final JobArgs.ExecutionMode BLOCKING
public static final JobArgs.ExecutionMode ONESHOT
Method Detail |
---|
public static JobArgs.ExecutionMode[] values()
for (JobArgs.ExecutionMode c : JobArgs.ExecutionMode.values()) System.out.println(c);
public static JobArgs.ExecutionMode 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<JobArgs.ExecutionMode>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |