| Package | Description |
|---|---|
| com.ibm.optim.oaas.client.job |
This package contains the classes to create and handle jobs.
|
| Modifier and Type | Method and Description |
|---|---|
JobClient |
JobClientBuilder.build()
Returns the configured job client.
|
static JobClient |
JobClientFactory.createDefault(String baseURL,
String clientid)
Creates a default job client to connect to the given base URL using the
given client ID.
|
static JobClient |
JobClientFactory.createDefault(String baseURL,
String clientid,
String secret)
Creates a default job client to connect to the given base URL using the
given client ID and client secret.
|
static JobClient |
JobClientFactory.createDefaultFromBluemix()
Creates a default job client to connect to the IBM Decision Optimization service by looking up the
service with the label starting with
JobClientFactory.BLUEMIX_SERVICE_LABEL in the VCAP_SERVICES. |
static JobClient |
JobClientFactory.createDefaultFromBluemix(String serviceName)
Creates a default job client to connect to the IBM Decision Optimization service by looking up the
service name in the VCAP_SERVICES.
|
JobClient |
JobRequest.getClient()
Returns the job client.
|
JobClient |
JobResponse.getClient()
Returns the job client.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JobOutput.download(JobClient client,
String jobid)
Downloads an attachment.
|
void |
JobInput.upload(JobClient client,
String jobid)
Uploads this source as the contents of an attachment to a given job.
|
Copyright © 2015–2017 IBM Corporation. Licensed under the Apache License, Version 2.0.