public static enum JobArgs.ExecutionMode extends Enum<JobArgs.ExecutionMode>
JobCollection.create(java.lang.String)
method.Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static JobArgs.ExecutionMode |
valueOf(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.
|
public static final JobArgs.ExecutionMode NORMAL
public static final JobArgs.ExecutionMode BLOCKING
public static final JobArgs.ExecutionMode ONESHOT
public static JobArgs.ExecutionMode[] values()
for (JobArgs.ExecutionMode c : JobArgs.ExecutionMode.values()) System.out.println(c);
public static JobArgs.ExecutionMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<JobArgs.ExecutionMode>
Copyright © 2022 Splunk, Inc.. All rights reserved.