Class JobExecutionHelper


  • public class JobExecutionHelper
    extends Object
    • Method Detail

      • restartPartition

        public static RuntimeJobExecution restartPartition​(ServicesManager servicesManager,
                                                           long execId,
                                                           JSLJob gennedJobModel,
                                                           Properties partitionProps)
                                                    throws javax.batch.operations.JobRestartException,
                                                           javax.batch.operations.JobExecutionAlreadyCompleteException,
                                                           javax.batch.operations.JobExecutionNotMostRecentException,
                                                           javax.batch.operations.NoSuchJobExecutionException
        Throws:
        javax.batch.operations.JobRestartException
        javax.batch.operations.JobExecutionAlreadyCompleteException
        javax.batch.operations.JobExecutionNotMostRecentException
        javax.batch.operations.NoSuchJobExecutionException
      • restartFlowInSplit

        public static RuntimeFlowInSplitExecution restartFlowInSplit​(ServicesManager servicesManager,
                                                                     long execId,
                                                                     JSLJob gennedJobModel)
                                                              throws javax.batch.operations.JobRestartException,
                                                                     javax.batch.operations.JobExecutionAlreadyCompleteException,
                                                                     javax.batch.operations.JobExecutionNotMostRecentException,
                                                                     javax.batch.operations.NoSuchJobExecutionException
        Throws:
        javax.batch.operations.JobRestartException
        javax.batch.operations.JobExecutionAlreadyCompleteException
        javax.batch.operations.JobExecutionNotMostRecentException
        javax.batch.operations.NoSuchJobExecutionException
      • restartJob

        public static RuntimeJobExecution restartJob​(ServicesManager servicesManager,
                                                     long executionId,
                                                     Properties restartJobParameters)
                                              throws javax.batch.operations.JobRestartException,
                                                     javax.batch.operations.JobExecutionAlreadyCompleteException,
                                                     javax.batch.operations.JobExecutionNotMostRecentException,
                                                     javax.batch.operations.NoSuchJobExecutionException
        Throws:
        javax.batch.operations.JobRestartException
        javax.batch.operations.JobExecutionAlreadyCompleteException
        javax.batch.operations.JobExecutionNotMostRecentException
        javax.batch.operations.NoSuchJobExecutionException
      • getPersistedJobOperatorJobExecution

        public static InternalJobExecution getPersistedJobOperatorJobExecution​(PersistenceManagerService persistenceManagerService,
                                                                               long jobExecutionId)
                                                                        throws javax.batch.operations.NoSuchJobExecutionException
        Throws:
        javax.batch.operations.NoSuchJobExecutionException
      • getJobInstance

        public static javax.batch.runtime.JobInstance getJobInstance​(JobStatusManagerService statusManagerService,
                                                                     long executionId)