| Package | Description |
|---|---|
| com.ibm.optim.oaas.client.job |
This package contains the classes to create and handle jobs.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AttachmentStorageLimitException
Exception that is thrown when a given attachment size has exceeded the limit defined in the
subscription.
|
class |
JobLimitException
Subscription exception thrown when the maximum number of jobs has been reached.
|
class |
StorageLimitException
Subscription exception thrown when the total storage limit defined in the subscription has been
reached.
|
| Modifier and Type | Method and Description |
|---|---|
String |
JobClient.copyJob(String jobid,
JobCreationData data,
boolean shallow)
Creates a new job by copying an existing job.
|
String |
JobClient.createJob(JobCreationData data)
Creates a new job.
|
String |
JobClient.createJobAttachment(String jobid,
JobAttachmentCreationData att)
Creates a job attachment for a given job.
|
void |
JobClient.executeJob(String jobid)
Submits a job for execution.
|
String |
JobClient.recreateJob(String jobid,
JobCreationData data,
boolean execute)
Creates a new job by replacing an existing 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.