public class JobExecutionHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static javax.batch.runtime.JobInstance |
getJobInstance(JobStatusManagerService statusManagerService,
long executionId) |
static InternalJobExecution |
getPersistedJobOperatorJobExecution(PersistenceManagerService persistenceManagerService,
long jobExecutionId) |
static RuntimeFlowInSplitExecution |
restartFlowInSplit(ServicesManager servicesManager,
long execId,
JSLJob gennedJobModel) |
static RuntimeJobExecution |
restartJob(ServicesManager servicesManager,
long executionId,
Properties restartJobParameters) |
static RuntimeJobExecution |
restartPartition(ServicesManager servicesManager,
long execId,
JSLJob gennedJobModel,
Properties partitionProps) |
static RuntimeFlowInSplitExecution |
startFlowInSplit(ServicesManager servicesManager,
JSLJob jobModel) |
static RuntimeJobExecution |
startJob(ServicesManager servicesManager,
String jobXML,
Properties jobParameters) |
static RuntimeJobExecution |
startPartition(ServicesManager servicesManager,
JSLJob jobModel,
Properties jobParameters) |
public static RuntimeJobExecution startJob(ServicesManager servicesManager, String jobXML, Properties jobParameters) throws javax.batch.operations.JobStartException
javax.batch.operations.JobStartExceptionpublic static RuntimeFlowInSplitExecution startFlowInSplit(ServicesManager servicesManager, JSLJob jobModel) throws javax.batch.operations.JobStartException
javax.batch.operations.JobStartExceptionpublic static RuntimeJobExecution startPartition(ServicesManager servicesManager, JSLJob jobModel, Properties jobParameters) throws javax.batch.operations.JobStartException
javax.batch.operations.JobStartExceptionpublic 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
javax.batch.operations.JobRestartExceptionjavax.batch.operations.JobExecutionAlreadyCompleteExceptionjavax.batch.operations.JobExecutionNotMostRecentExceptionjavax.batch.operations.NoSuchJobExecutionExceptionpublic 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
javax.batch.operations.JobRestartExceptionjavax.batch.operations.JobExecutionAlreadyCompleteExceptionjavax.batch.operations.JobExecutionNotMostRecentExceptionjavax.batch.operations.NoSuchJobExecutionExceptionpublic 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
javax.batch.operations.JobRestartExceptionjavax.batch.operations.JobExecutionAlreadyCompleteExceptionjavax.batch.operations.JobExecutionNotMostRecentExceptionjavax.batch.operations.NoSuchJobExecutionExceptionpublic static InternalJobExecution getPersistedJobOperatorJobExecution(PersistenceManagerService persistenceManagerService, long jobExecutionId) throws javax.batch.operations.NoSuchJobExecutionException
javax.batch.operations.NoSuchJobExecutionExceptionpublic static javax.batch.runtime.JobInstance getJobInstance(JobStatusManagerService statusManagerService, long executionId)
Copyright © 2022 The Apache Software Foundation. All rights reserved.