| Package | Description |
|---|---|
| com.ibm.optim.oaas.client.job |
This package contains the classes to create and handle jobs.
|
| com.ibm.optim.oaas.client.job.model |
This package contains the classes that define the job model.
|
| Modifier and Type | Method and Description |
|---|---|
JobExecutionStatus |
JobClient.getJobExecutionStatus(String jobid)
Returns the job execution status.
|
| Constructor and Description |
|---|
IllegalJobStatusException(String jobID,
JobExecutionStatus jobStatus)
Construct a job status exception for jobs with the given ID and status.
|
| Modifier and Type | Method and Description |
|---|---|
JobExecutionStatus |
JobStatus.getExecutionStatus() |
JobExecutionStatus |
Job.getExecutionStatus()
Gets the execution status of the job.
|
static JobExecutionStatus |
JobExecutionStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobExecutionStatus[] |
JobExecutionStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
JobExecutionStatus.isActive(JobExecutionStatus jobStatus)
Check if the job is currently active based on the job status.
|
static boolean |
JobExecutionStatus.isEnded(JobExecutionStatus jobStatus)
Check if the job execution has completed based on the job status.
|
static boolean |
JobExecutionStatus.isFailure(JobExecutionStatus jobStatus)
Check if the job has completed its execution with a failure
based on the job status.
|
static boolean |
JobExecutionStatus.isWaiting(JobExecutionStatus jobStatus)
Check if the job is currently waiting to be processed based on the job status.
|
Copyright © 2015–2017 IBM Corporation. Licensed under the Apache License, Version 2.0.