Package jakarta.batch.operations
Provides APIs for starting, managing, and viewing results of Batch job executions, along with a set of exceptions.
- Version:
- 2.0
-
Interface Summary Interface Description JobOperator JobOperator provide the interface for operating on batch jobs. -
Exception Summary Exception Description BatchRuntimeException This is the common base class for all of the RuntimeException(s) thrown by theJobOperator
API methods to its callers.JobExecutionAlreadyCompleteException JobExecutionAlreadyCompleteException is thrown when restart is called for an already-completed job instance.JobExecutionIsRunningException JobExecutionIsRunningException is thrown whenJobOperator.abandon(long)
is called on a job execution which is currently running (i.e.JobExecutionNotMostRecentException JobExecutionNotMostRecentException is thrown whenJobOperator.restart(long, java.util.Properties)
is called on a job instance which has already completed (i.e.JobExecutionNotRunningException JobExecutionNotRunningException is thrown whenJobOperator.stop(long)
is called on a job instance which is not currently running.JobRestartException JobRestartException is thrown when an error occurs during the JobOperator restart operation.JobSecurityException SecurityException is thrown when an user is not authorized to run a JobOperator method, such as restart, stop, abandon, any getters, etc.JobStartException JobStartException is thrown when an error occurs during the JobOperator start operation.NoSuchJobException Used in JobOperator methods when referencing a job name value which does not correspond to a job recognized by the implementation's repository.NoSuchJobExecutionException Used in JobOperator methods when referencing a job execution value which does not correspond to a job execution recognized by the implementation's repository.NoSuchJobInstanceException Used in JobOperator methods when referencing a job instance value which does not correspond to a job instance recognized by the implementation's repository.