| Package | Description |
|---|---|
| com.ibm.optim.oaas.client.job |
This package contains the classes to create and handle jobs.
|
| Modifier and Type | Method and Description |
|---|---|
JobRequestBuilder |
JobRequestBuilder.application(String applicationId)
Sets the application ID.
|
JobRequestBuilder |
JobRequestBuilder.clientEmail(String email)
Sets the client email address.
|
JobRequestBuilder |
JobRequestBuilder.clientName(String name)
Sets the client name used to identify the client submitting a job.
|
JobRequestBuilder |
JobRequestBuilder.copy(String jobId)
Indicates that the new job should be constructed by copying an existing job.
|
JobRequestBuilder |
JobRequestBuilder.copy(String jobId,
boolean shallow)
Indicates that the new job should be constructed by copying an existing job.
|
JobRequestBuilder |
JobRequestBuilder.deleteOnCompletion(boolean delete)
Indicates that the job must be deleted on completion.
|
JobRequestBuilder |
JobRequestBuilder.input(File file)
Sets an input source to the given file.
|
JobRequestBuilder |
JobRequestBuilder.input(JobInput input)
Adds a custom job input source.
|
JobRequestBuilder |
JobRequestBuilder.input(String name,
File file)
Sets an input source to the given file with a specific name.
|
JobRequestBuilder |
JobRequestBuilder.input(String name,
InputStream stream)
Sets an input source to the given stream.
|
JobRequestBuilder |
JobRequestBuilder.input(String name,
com.fasterxml.jackson.databind.ObjectMapper mapper,
Object input)
Sets the input to the given JSON document.
|
JobRequestBuilder |
JobRequestBuilder.input(String name,
URL url)
Sets an input source to the given URL with a specific name.
|
JobRequestBuilder |
JobRequestBuilder.livelog(OutputStream stream)
Sets the live log output to a stream.
|
JobRequestBuilder |
JobRequestBuilder.livelog(OutputStream stream,
com.ibm.icu.text.DateFormat format)
Sets the live log output to a stream.
|
JobRequestBuilder |
JobRequestBuilder.log(File file)
Sets the log output to a file.
|
JobRequestBuilder |
JobRequestBuilder.log(OutputStream stream)
Sets the log output to a stream.
|
JobRequestBuilder |
JobClient.newRequest()
Creates a new job request builder using this client.
|
JobRequestBuilder |
JobRequestBuilder.output(File file)
Sets the result output to a file.
|
JobRequestBuilder |
JobRequestBuilder.output(JobOutput output)
Adds a custom result output.
|
<T> JobRequestBuilder |
JobRequestBuilder.output(com.fasterxml.jackson.databind.ObjectMapper mapper,
Class<T> type)
Sets the result output to a JSON object.
|
<T> JobRequestBuilder |
JobRequestBuilder.output(com.fasterxml.jackson.databind.ObjectMapper mapper,
com.fasterxml.jackson.core.type.TypeReference<T> type)
Sets the result output to a JSON object.
|
JobRequestBuilder |
JobRequestBuilder.output(OutputStream stream)
Sets the result output to a stream.
|
JobRequestBuilder |
JobRequestBuilder.output(String attid,
File file)
Sets the result output to a file for a particular output attachment.
|
<T> JobRequestBuilder |
JobRequestBuilder.output(String attid,
com.fasterxml.jackson.databind.ObjectMapper mapper,
Class<T> type)
Sets the result output to a JSON object for a particular output attachment.
|
<T> JobRequestBuilder |
JobRequestBuilder.output(String attid,
com.fasterxml.jackson.databind.ObjectMapper mapper,
com.fasterxml.jackson.core.type.TypeReference<T> type)
Sets the result output to a JSON object for a particular output attachment.
|
JobRequestBuilder |
JobRequestBuilder.output(String attid,
OutputStream stream)
Sets the result output to a stream for a particular output attachment.
|
JobRequestBuilder |
JobRequestBuilder.parameter(String name,
Object value)
Sets the value of a parameter.
|
JobRequestBuilder |
JobRequestBuilder.recreate(String jobId)
Indicates that the new job should be constructed by replacing an existing job.
|
JobRequestBuilder |
JobRequestBuilder.timeout(long timeout,
TimeUnit unit)
Sets the timeout for the job monitoring.
|
JobRequestBuilder |
JobRequestBuilder.useBatchSubmitMode()
Tries to create a job, upload attachments, and submit a job in one call to avoid network round
trips.
|
JobRequestBuilder |
JobRequestBuilder.version(String version)
Sets the application version to use during solve.
|
Copyright © 2015–2017 IBM Corporation. Licensed under the Apache License, Version 2.0.