Top Description Interfaces Classes
[default module]

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

Modifier and TypeInterface and Description
public interface
JobOperator

JobOperator provide the interface for operating on batch jobs.

Class Summary

Modifier and TypeClass and Description
public class
BatchRuntimeException

This is the common base class for all of the RuntimeException(s) thrown by the JobOperator API methods to its callers.

public class
JobExecutionAlreadyCompleteException

JobExecutionAlreadyCompleteException is thrown when restart is called for an already-completed job instance.

public class
JobExecutionIsRunningException

JobExecutionIsRunningException is thrown when JobOperator#abandon(long) is called on a job execution which is currently running (i.e. has a jakarta.batch.runtime.BatchStatus of STARTING or STARTED).

public class
JobExecutionNotMostRecentException

JobExecutionNotMostRecentException is thrown when JobOperator#restart(long, java.util.Properties) is called on a job instance which has already completed (i.e. the most recent execution has ended with BatchStatus of COMPLETED.

public class
JobExecutionNotRunningException

JobExecutionNotRunningException is thrown when JobOperator#stop(long) is called on a job instance which is not currently running.

public class
JobRestartException

JobRestartException is thrown when an error occurs during the JobOperator restart operation.

public class
JobSecurityException

SecurityException is thrown when an user is not authorized to run a JobOperator method, such as restart, stop, abandon, any getters, etc.

public class
JobStartException

JobStartException is thrown when an error occurs during the JobOperator start operation.

public class
NoSuchJobException

Used in JobOperator methods when referencing a job name value which does not correspond to a job recognized by the implementation's repository.

public class
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.

public class
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.