| Modifier and Type | Field and Description |
|---|---|
static String |
ALERT_TIME
Indicates that an email alert will be sent when a the jobs reaches the specified alert time
limit.
|
static String |
BLUEMIX_REGION
Indicates which Bluemix region was used if the job was submitted via Bluemix and if, and only if,
the Bluemix region has been detected.
|
static String |
DROPSOLVE
Indicates if the job was submitted interactively using the DropSolve.
|
static String |
JOB_CORES
Only used in Reserved Bare Metal subscription, this parameter specifies cores used to process job.
|
static String |
JOB_MEMORY_MBYTES
Only used in Reserved Bare Metal subscription, this parameter specifies maximum memory megabytes
used to process job.
|
static String |
LOG_LIMIT
Log size limit in characters.
|
static String |
NOTIFY_COMPLETION
Indicates that an email notification will be sent upon completion of the job.
|
static String |
OPL_RUN_CONFIG
Specifies the name of the OPL run configuration to be executed by the OPL Worker.
|
static String |
RESULTS_FORMAT
Specifies the format for returned results.
|
static String |
RESULTS_FORMAT_JSON
String value for
RESULTS_FORMAT parameter to specify JSON as results format. |
static String |
RESULTS_FORMAT_TEXT
String value for
RESULTS_FORMAT parameter to specify TEXT as results format. |
static String |
RESULTS_FORMAT_XLSX
String value for
RESULTS_FORMAT parameter to specify XLSX as results format. |
static String |
RESULTS_FORMAT_XML
String value for
RESULTS_FORMAT parameter to specify XML as results format. |
static String |
TIME_LIMIT
Time limits in milliseconds.
|
static String |
WEBHOOK
Specifies the webhook to be called on job completion.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getAlertTime()
Returns the alert limit.
|
Boolean |
getAsBoolean(String name)
Returns the parameter value as a Boolean.
|
boolean |
getAsBoolean(String name,
boolean defaultValue)
Returns the parameter value as a Boolean with a default value.
|
Double |
getAsDouble(String name)
Returns the parameter value as a Double.
|
double |
getAsDouble(String name,
double defaultValue)
Returns the parameter value as a Double with a default value.
|
Integer |
getAsInteger(String name)
Returns the parameter value as a Integer.
|
int |
getAsInteger(String name,
int defaultValue)
Returns the parameter value as a Integer with a default value.
|
Long |
getAsLong(String name)
Returns the parameter value as a Double.
|
long |
getAsLong(String name,
long defaultValue)
Returns the parameter value as a Double with a default value.
|
String |
getAsString(String name)
Returns the parameter value as a String.
|
String |
getAsString(String name,
String defaultValue)
Returns the parameter value as a String with a default value.
|
String |
getBluemixRegion()
Returns the Bluemix region that submitted this job (if known).
|
Boolean |
getDropSolve()
The DropSolve flag.
|
Integer |
getJobCores()
Returns cores used to process job.
|
Integer |
getJobMemoryMbytes()
Returns maximum memory megabytes used to process the job.
|
Long |
getLogLimit()
Returns the log limit.
|
Boolean |
getNotifyCompletion()
Returns the notify completion flag.
|
String |
getOplRunConfig()
Returns the OPL run configuration.
|
String |
getResultsFormat()
Returns results format.
|
Long |
getTimeLimit()
Returns the time limit.
|
String |
getWebhook()
Returns the webhook.
|
void |
setAlertTime(Long value)
Sets the alert limit.
|
void |
setBluemixRegion(String bluemixRegion)
Sets the Bluemix region that created this job (if known).
|
void |
setJobCores(Integer cores)
Sets the number of cores used to process the job.
|
void |
setJobMemoryMbytes(Integer mbytes)
Sets maximum memory megabytes used to process the job.
|
void |
setLogLimit(Long value)
Sets the log limit.
|
void |
setNotifyCompletion(Boolean notify)
Sets the notify completion flag.
|
void |
setOplRunConfig(String value)
Sets the OPL run configuration.
|
void |
setResultsFormat(String value)
Sets the results format.
|
void |
setTimeLimit(Long value)
Sets the time limit.
|
void |
setWebhook(String value)
Sets the webhook.
|
static final String TIME_LIMIT
static final String LOG_LIMIT
static final String OPL_RUN_CONFIG
static final String RESULTS_FORMAT
static final String RESULTS_FORMAT_TEXT
RESULTS_FORMAT parameter to specify TEXT as results format. This
format may or may not be supported by a given application.static final String RESULTS_FORMAT_XML
RESULTS_FORMAT parameter to specify XML as results format. This format
may or may not be supported by a given application.static final String RESULTS_FORMAT_JSON
RESULTS_FORMAT parameter to specify JSON as results format. This is
the default format, supported by all applications.static final String RESULTS_FORMAT_XLSX
RESULTS_FORMAT parameter to specify XLSX as results format. This
format may or may not be supported by a given application.static final String WEBHOOK
job query
parameter to indicate the job id that completed. The client can then access the API to retrieve
the job status and results.static final String DROPSOLVE
static final String NOTIFY_COMPLETION
static final String ALERT_TIME
static final String JOB_CORES
static final String JOB_MEMORY_MBYTES
static final String BLUEMIX_REGION
Long getTimeLimit()
TIME_LIMITvoid setTimeLimit(Long value)
value - The time limit.TIME_LIMITvoid setLogLimit(Long value)
value - The log limit.LOG_LIMITString getOplRunConfig()
OPL_RUN_CONFIGvoid setOplRunConfig(String value)
value - The OPL run configuration.OPL_RUN_CONFIGString getResultsFormat()
RESULTS_FORMATvoid setResultsFormat(String value)
value - The results format.RESULTS_FORMATvoid setWebhook(String value)
value - The the webhook.WEBHOOKBoolean getNotifyCompletion()
true if notification is requested, false otherwiseNOTIFY_COMPLETIONvoid setNotifyCompletion(Boolean notify)
notify - true if notification is requested, false otherwiseNOTIFY_COMPLETIONLong getAlertTime()
null if undefined.ALERT_TIMEInteger getJobCores()
JOB_CORESvoid setJobCores(Integer cores)
cores - The number of cores used to process the job.JOB_CORESInteger getJobMemoryMbytes()
JOB_MEMORY_MBYTESvoid setJobMemoryMbytes(Integer mbytes)
mbytes - The maximum memory megabytes used to process the job.JOB_MEMORY_MBYTESString getBluemixRegion()
BLUEMIX_REGIONvoid setBluemixRegion(String bluemixRegion)
bluemixRegion - The Bluemix region.BLUEMIX_REGIONvoid setAlertTime(Long value)
value - The alert limit.ALERT_TIMEBoolean getAsBoolean(String name)
name - The parameter name.String getAsString(String name)
name - The parameter name.Double getAsDouble(String name)
name - The parameter name.Long getAsLong(String name)
name - The parameter name.Integer getAsInteger(String name)
name - The parameter name.boolean getAsBoolean(String name, boolean defaultValue)
name - The parameter name.defaultValue - default valueString getAsString(String name, String defaultValue)
name - The parameter name.defaultValue - default valuedouble getAsDouble(String name, double defaultValue)
name - The parameter name.defaultValue - default valuelong getAsLong(String name, long defaultValue)
name - The parameter name.defaultValue - default valueint getAsInteger(String name, int defaultValue)
name - The parameter name.defaultValue - default valueCopyright © 2015–2017 IBM Corporation. Licensed under the Apache License, Version 2.0.