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.JobStartException
public static RuntimeFlowInSplitExecution startFlowInSplit(ServicesManager servicesManager, JSLJob jobModel) throws javax.batch.operations.JobStartException
javax.batch.operations.JobStartException
public static RuntimeJobExecution startPartition(ServicesManager servicesManager, JSLJob jobModel, Properties jobParameters) throws javax.batch.operations.JobStartException
javax.batch.operations.JobStartException
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
javax.batch.operations.JobRestartException
javax.batch.operations.JobExecutionAlreadyCompleteException
javax.batch.operations.JobExecutionNotMostRecentException
javax.batch.operations.NoSuchJobExecutionException
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
javax.batch.operations.JobRestartException
javax.batch.operations.JobExecutionAlreadyCompleteException
javax.batch.operations.JobExecutionNotMostRecentException
javax.batch.operations.NoSuchJobExecutionException
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
javax.batch.operations.JobRestartException
javax.batch.operations.JobExecutionAlreadyCompleteException
javax.batch.operations.JobExecutionNotMostRecentException
javax.batch.operations.NoSuchJobExecutionException
public static InternalJobExecution getPersistedJobOperatorJobExecution(PersistenceManagerService persistenceManagerService, long jobExecutionId) throws javax.batch.operations.NoSuchJobExecutionException
javax.batch.operations.NoSuchJobExecutionException
public static javax.batch.runtime.JobInstance getJobInstance(JobStatusManagerService statusManagerService, long executionId)
Copyright © 2017 The Apache Software Foundation. All rights reserved.