Class QuarkusJobOperator

  • All Implemented Interfaces:
    javax.batch.operations.JobOperator

    @Vetoed
    public class QuarkusJobOperator
    extends org.jberet.operations.AbstractJobOperator
    • 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:
        start in interface javax.batch.operations.JobOperator
        Overrides:
        start in class org.jberet.operations.AbstractJobOperator
        Throws:
        javax.batch.operations.JobStartException
        javax.batch.operations.JobSecurityException
      • start

        public long start​(String jobXMLName,
                          Properties jobParameters,
                          String user)
                   throws javax.batch.operations.JobStartException,
                          javax.batch.operations.JobSecurityException
        Overrides:
        start in class org.jberet.operations.AbstractJobOperator
        Throws:
        javax.batch.operations.JobStartException
        javax.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:
        restart in interface javax.batch.operations.JobOperator
        Overrides:
        restart in class org.jberet.operations.AbstractJobOperator
        Throws:
        javax.batch.operations.JobExecutionAlreadyCompleteException
        javax.batch.operations.NoSuchJobExecutionException
        javax.batch.operations.JobExecutionNotMostRecentException
        javax.batch.operations.JobRestartException
        javax.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:
        restart in class org.jberet.operations.AbstractJobOperator
        Throws:
        javax.batch.operations.JobExecutionAlreadyCompleteException
        javax.batch.operations.NoSuchJobExecutionException
        javax.batch.operations.JobExecutionNotMostRecentException
        javax.batch.operations.JobRestartException
        javax.batch.operations.JobSecurityException
      • getBatchEnvironment

        public org.jberet.spi.BatchEnvironment getBatchEnvironment()
        Specified by:
        getBatchEnvironment in class org.jberet.operations.AbstractJobOperator