Package io.quarkiverse.jberet.runtime
Class QuarkusJobOperator
- java.lang.Object
-
- org.jberet.operations.AbstractJobOperator
-
- io.quarkiverse.jberet.runtime.QuarkusJobOperator
-
- All Implemented Interfaces:
javax.batch.operations.JobOperator
@Vetoed public class QuarkusJobOperator extends org.jberet.operations.AbstractJobOperator
-
-
Constructor Summary
Constructors Constructor Description QuarkusJobOperator(JBeretConfig config, io.quarkus.runtime.ThreadPoolConfig threadPoolConfig, org.eclipse.microprofile.context.ManagedExecutor managedExecutor, javax.transaction.TransactionManager transactionManager, List<org.jberet.job.model.Job> jobs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jberet.spi.BatchEnvironmentgetBatchEnvironment()longrestart(long executionId, Properties restartParameters)longrestart(long executionId, Properties restartParameters, String user)longstart(String jobXMLName, Properties jobParameters)longstart(String jobXMLName, Properties jobParameters, String user)-
Methods inherited from class org.jberet.operations.AbstractJobOperator
abandon, getJobExecution, getJobExecutionImpl, getJobExecutions, getJobExecutionsByJob, getJobInstance, getJobInstanceCount, getJobInstances, getJobNames, getJobRepository, getParameters, getRunningExecutions, getStepExecutions, start, start, stop
-
-
-
-
Constructor Detail
-
QuarkusJobOperator
public QuarkusJobOperator(JBeretConfig config, io.quarkus.runtime.ThreadPoolConfig threadPoolConfig, org.eclipse.microprofile.context.ManagedExecutor managedExecutor, javax.transaction.TransactionManager transactionManager, List<org.jberet.job.model.Job> jobs)
-
-
Method Detail
-
start
public long start(String jobXMLName, Properties jobParameters) throws javax.batch.operations.JobStartException, javax.batch.operations.JobSecurityException
- Specified by:
startin interfacejavax.batch.operations.JobOperator- Overrides:
startin classorg.jberet.operations.AbstractJobOperator- Throws:
javax.batch.operations.JobStartExceptionjavax.batch.operations.JobSecurityException
-
start
public long start(String jobXMLName, Properties jobParameters, String user) throws javax.batch.operations.JobStartException, javax.batch.operations.JobSecurityException
- Overrides:
startin classorg.jberet.operations.AbstractJobOperator- Throws:
javax.batch.operations.JobStartExceptionjavax.batch.operations.JobSecurityException
-
restart
public long restart(long executionId, Properties restartParameters) throws javax.batch.operations.JobExecutionAlreadyCompleteException, javax.batch.operations.NoSuchJobExecutionException, javax.batch.operations.JobExecutionNotMostRecentException, javax.batch.operations.JobRestartException, javax.batch.operations.JobSecurityException- Specified by:
restartin interfacejavax.batch.operations.JobOperator- Overrides:
restartin classorg.jberet.operations.AbstractJobOperator- Throws:
javax.batch.operations.JobExecutionAlreadyCompleteExceptionjavax.batch.operations.NoSuchJobExecutionExceptionjavax.batch.operations.JobExecutionNotMostRecentExceptionjavax.batch.operations.JobRestartExceptionjavax.batch.operations.JobSecurityException
-
restart
public long restart(long executionId, Properties restartParameters, String user) throws javax.batch.operations.JobExecutionAlreadyCompleteException, javax.batch.operations.NoSuchJobExecutionException, javax.batch.operations.JobExecutionNotMostRecentException, javax.batch.operations.JobRestartException, javax.batch.operations.JobSecurityException- Overrides:
restartin classorg.jberet.operations.AbstractJobOperator- Throws:
javax.batch.operations.JobExecutionAlreadyCompleteExceptionjavax.batch.operations.NoSuchJobExecutionExceptionjavax.batch.operations.JobExecutionNotMostRecentExceptionjavax.batch.operations.JobRestartExceptionjavax.batch.operations.JobSecurityException
-
getBatchEnvironment
public org.jberet.spi.BatchEnvironment getBatchEnvironment()
- Specified by:
getBatchEnvironmentin classorg.jberet.operations.AbstractJobOperator
-
-