Package io.quarkiverse.jberet.runtime
Class QuarkusJobOperator
java.lang.Object
org.jberet.operations.AbstractJobOperator
io.quarkiverse.jberet.runtime.QuarkusJobOperator
- All Implemented Interfaces:
jakarta.batch.operations.JobOperator
@Vetoed
public class QuarkusJobOperator
extends org.jberet.operations.AbstractJobOperator
-
Constructor Summary
ConstructorsConstructorDescriptionQuarkusJobOperator(JBeretRuntimeConfig config, org.jberet.spi.BatchEnvironment batchEnvironment, List<org.jberet.job.model.Job> jobs) -
Method Summary
Modifier and TypeMethodDescriptionorg.jberet.spi.BatchEnvironmentlongrestart(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 Details
-
QuarkusJobOperator
public QuarkusJobOperator(JBeretRuntimeConfig config, org.jberet.spi.BatchEnvironment batchEnvironment, List<org.jberet.job.model.Job> jobs)
-
-
Method Details
-
start
public long start(String jobXMLName, Properties jobParameters) throws jakarta.batch.operations.JobStartException, jakarta.batch.operations.JobSecurityException - Specified by:
startin interfacejakarta.batch.operations.JobOperator- Overrides:
startin classorg.jberet.operations.AbstractJobOperator- Throws:
jakarta.batch.operations.JobStartExceptionjakarta.batch.operations.JobSecurityException
-
start
public long start(String jobXMLName, Properties jobParameters, String user) throws jakarta.batch.operations.JobStartException, jakarta.batch.operations.JobSecurityException - Overrides:
startin classorg.jberet.operations.AbstractJobOperator- Throws:
jakarta.batch.operations.JobStartExceptionjakarta.batch.operations.JobSecurityException
-
restart
public long restart(long executionId, Properties restartParameters) throws jakarta.batch.operations.JobExecutionAlreadyCompleteException, jakarta.batch.operations.NoSuchJobExecutionException, jakarta.batch.operations.JobExecutionNotMostRecentException, jakarta.batch.operations.JobRestartException, jakarta.batch.operations.JobSecurityException - Specified by:
restartin interfacejakarta.batch.operations.JobOperator- Overrides:
restartin classorg.jberet.operations.AbstractJobOperator- Throws:
jakarta.batch.operations.JobExecutionAlreadyCompleteExceptionjakarta.batch.operations.NoSuchJobExecutionExceptionjakarta.batch.operations.JobExecutionNotMostRecentExceptionjakarta.batch.operations.JobRestartExceptionjakarta.batch.operations.JobSecurityException
-
restart
public long restart(long executionId, Properties restartParameters, String user) throws jakarta.batch.operations.JobExecutionAlreadyCompleteException, jakarta.batch.operations.NoSuchJobExecutionException, jakarta.batch.operations.JobExecutionNotMostRecentException, jakarta.batch.operations.JobRestartException, jakarta.batch.operations.JobSecurityException - Overrides:
restartin classorg.jberet.operations.AbstractJobOperator- Throws:
jakarta.batch.operations.JobExecutionAlreadyCompleteExceptionjakarta.batch.operations.NoSuchJobExecutionExceptionjakarta.batch.operations.JobExecutionNotMostRecentExceptionjakarta.batch.operations.JobRestartExceptionjakarta.batch.operations.JobSecurityException
-
getBatchEnvironment
public org.jberet.spi.BatchEnvironment getBatchEnvironment()- Specified by:
getBatchEnvironmentin classorg.jberet.operations.AbstractJobOperator
-