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