| 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 |
AttachmentNotFoundException
Job exception indicating that the attachment or the attachment content was not found.
|
class |
AttachmentStorageLimitException
Exception that is thrown when a given attachment size has exceeded the limit defined in the
subscription.
|
class |
EmptyAttachmentException
Validation exception indicating that the attachment is empty.
|
class |
FormatNotSupportedException
Validation exception thrown when the requested result format is not supported by the job processor.
|
class |
IllegalJobStatusException
Validation exception thrown when an action is attempted on a job which does not have the right status
to handle this action.
|
class |
InvalidApplicationException
Validation exception thrown when the application is not valid or not supported.
|
class |
InvalidAttachmentNameException
Validation exception thrown when the name of an attachment is invalid.
|
class |
InvalidAttachmentsException
Validation exception thrown when the given combination of attachment types is not supported by the
specified application.
|
class |
JobLimitException
Subscription exception thrown when the maximum number of jobs has been reached.
|
class |
JobNotFoundException
Job exception thrown when the job cannot be found.
|
class |
MissingAttachmentNameException
Validation exception thrown when the name of an attachment is missing.
|
class |
MissingAttachmentsException
Validation exception thrown when no application was specified and no attachments were
declared.
|
class |
MissingExtensionException
Validation exception thrown when the application is not valid or not supported.
|
class |
StorageLimitException
Subscription exception thrown when the total storage limit defined in the subscription has been
reached.
|
class |
SubscriptionException
Base exception of all issues related to subscription settings and limits.
|
class |
UndefinedApplicationException
Validation exception thrown when no application has been defined.
|
class |
UnrecognizedAttachmentsException
Validation exception thrown when the application was not set and the combination of attachments is
not recognized as valid for any application.
|
class |
ValidationException
Base exception for issues related to the application (OPL or CPLEX) and the
supported type of attachments.
|
| Modifier and Type | Method and Description |
|---|---|
Future<JobResponse> |
JobRequestBuilder.create(JobExecutor executor)
Builds the request and creates the job using a given job executor.
|
Future<JobResponse> |
JobRequest.create(JobExecutor executor)
Creates the job as defined in this request.
|
Future<JobResponse> |
JobExecutor.create(JobRequest request,
JobCallback callback)
Creates a job request but does not submit the job.
|
Future<JobResponse> |
JobRequestBuilder.execute(JobExecutor executor)
Builds the request and executes it using a given job executor
|
Future<JobResponse> |
JobRequest.execute(JobExecutor executor)
Executes this request by submitting it to a job executor.
|
Future<JobResponse> |
JobExecutor.execute(JobRequest request)
Executes a job request.
|
Future<JobResponse> |
JobExecutor.execute(JobRequest request,
JobCallback callback)
Executes a job request and calls a callback at major steps of the
execution.
|
Future<JobResponse> |
JobExecutor.monitor(JobRequest request,
String jobid,
JobCallback callback)
Monitor a job request that was submitted.
|
Future<JobResponse> |
JobExecutor.submit(JobRequest request,
JobCallback callback)
Submits a job request but does not monitor the execution nor process the outputs and logs.
|
Copyright © 2015–2017 IBM Corporation. Licensed under the Apache License, Version 2.0.