public abstract class ImmediateJobStartup extends JobStartup
Modifier and Type | Field and Description |
---|---|
static ImmediateJobStartup |
ASYNCHRONOUS
Specifies an asynchronous job.
|
boolean |
isAsync
true if the job should be executed asynchronously; otherwise false . |
static ImmediateJobStartup |
SYNCHRONOUS
Specifies a synchronous job.
|
PARAMETER_ASYNC, PARAMETER_SESSION_ID, PARAMETER_START_TIME, PARAMETER_TIMEOUT_MILLIS
Modifier and Type | Method and Description |
---|---|
static ImmediateJobStartup |
getInstance(boolean isAsync)
Retrieves an instance of a job.
|
java.util.Map<java.lang.String,java.lang.String> |
getRequestParameterMap()
Returns a list of name/value pairs to be passed to the server as part of URL query string.
|
boolean |
isSynchronous()
Indicates whether a job is running synchronously.
|
public static final ImmediateJobStartup ASYNCHRONOUS
public static final ImmediateJobStartup SYNCHRONOUS
public final boolean isAsync
true
if the job should be executed asynchronously; otherwise false
.public static ImmediateJobStartup getInstance(boolean isAsync)
isAsync
- true
if the job is to run asynchronously; otherwise false
.ImmediateJobStartup
object.public boolean isSynchronous()
isSynchronous
in class JobStartup
true
if the job is running synchronously; otherwise false
public java.util.Map<java.lang.String,java.lang.String> getRequestParameterMap()
getRequestParameterMap
in class JobStartup