| Package | Description |
|---|---|
| com.ibm.optim.oaas.client.job |
This package contains the classes to create and handle jobs.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JobOutput.download(JobClient client,
String jobid)
Downloads an attachment.
|
InputStream |
JobClient.downloadJobAttachment(String jobid,
String attid)
Downloads job attachment contents as a stream.
|
void |
JobClient.downloadJobAttachment(String jobid,
String attid,
File file)
Downloads job attachment contents and stores them as a file.
|
<T> T |
JobClient.downloadJobAttachment(String jobid,
String attid,
com.fasterxml.jackson.databind.ObjectMapper mapper,
Class<T> type)
Downloads job attachment contents as a JSON object.
|
<T> T |
JobClient.downloadJobAttachment(String jobid,
String attid,
com.fasterxml.jackson.databind.ObjectMapper mapper,
com.fasterxml.jackson.core.type.TypeReference<T> type)
Downloads job attachment contents as a JSON object.
|
void |
JobClient.downloadJobAttachment(String jobid,
String attid,
OutputStream stream)
Downloads job attachment contents and copies them to an output stream.
|
JobAttachment |
JobClient.getJobAttachment(String jobid,
String attid)
Returns the job attachment (if any) of a given job.
|
void |
JobInput.upload(JobClient client,
String jobid)
Uploads this source as the contents of an attachment to a given job.
|
void |
JobClient.uploadJobAttachment(String jobid,
String attid,
AttachmentContentWriter writer)
Uploads job attachment contents with a custom writer.
|
void |
JobClient.uploadJobAttachment(String jobid,
String attid,
File file)
Uploads job attachment contents as a file.
|
void |
JobClient.uploadJobAttachment(String jobid,
String attid,
InputStream stream)
Uploads job attachment contents as a stream.
|
void |
JobClient.uploadJobAttachment(String jobid,
String attid,
com.fasterxml.jackson.databind.ObjectMapper mapper,
Object obj)
Uploads job attachment contents as a JSON stream.
|
Copyright © 2015–2017 IBM Corporation. Licensed under the Apache License, Version 2.0.