com.ibm.jbatch.container.jobinstance
Class JobExecutionHelper

java.lang.Object
  extended by com.ibm.jbatch.container.jobinstance.JobExecutionHelper

public class JobExecutionHelper
extends Object


Constructor Summary
JobExecutionHelper()
           
 
Method Summary
static JobInstance getJobInstance(long executionId)
           
static IJobExecution getPersistedJobOperatorJobExecution(long jobExecutionId)
           
static RuntimeFlowInSplitExecution restartFlowInSplit(long execId, JSLJob gennedJobModel)
           
static RuntimeJobExecution restartJob(long executionId, JSLJob gennedJobModel)
           
static RuntimeJobExecution restartJob(long executionId, Properties restartJobParameters)
           
static RuntimeJobExecution restartPartition(long execId, JSLJob gennedJobModel, Properties partitionProps)
           
static RuntimeFlowInSplitExecution startFlowInSplit(JSLJob jobModel)
           
static RuntimeJobExecution startJob(String jobXML, Properties jobParameters)
           
static RuntimeJobExecution startPartition(JSLJob jobModel, Properties jobParameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobExecutionHelper

public JobExecutionHelper()
Method Detail

startJob

public static RuntimeJobExecution startJob(String jobXML,
                                           Properties jobParameters)
                                    throws JobStartException
Throws:
JobStartException

startFlowInSplit

public static RuntimeFlowInSplitExecution startFlowInSplit(JSLJob jobModel)
                                                    throws JobStartException
Throws:
JobStartException

startPartition

public static RuntimeJobExecution startPartition(JSLJob jobModel,
                                                 Properties jobParameters)
                                          throws JobStartException
Throws:
JobStartException

restartJob

public static RuntimeJobExecution restartJob(long executionId,
                                             JSLJob gennedJobModel)
                                      throws JobRestartException,
                                             JobExecutionAlreadyCompleteException,
                                             JobExecutionNotMostRecentException,
                                             NoSuchJobExecutionException
Throws:
JobRestartException
JobExecutionAlreadyCompleteException
JobExecutionNotMostRecentException
NoSuchJobExecutionException

restartPartition

public static RuntimeJobExecution restartPartition(long execId,
                                                   JSLJob gennedJobModel,
                                                   Properties partitionProps)
                                            throws JobRestartException,
                                                   JobExecutionAlreadyCompleteException,
                                                   JobExecutionNotMostRecentException,
                                                   NoSuchJobExecutionException
Throws:
JobRestartException
JobExecutionAlreadyCompleteException
JobExecutionNotMostRecentException
NoSuchJobExecutionException

restartFlowInSplit

public static RuntimeFlowInSplitExecution restartFlowInSplit(long execId,
                                                             JSLJob gennedJobModel)
                                                      throws JobRestartException,
                                                             JobExecutionAlreadyCompleteException,
                                                             JobExecutionNotMostRecentException,
                                                             NoSuchJobExecutionException
Throws:
JobRestartException
JobExecutionAlreadyCompleteException
JobExecutionNotMostRecentException
NoSuchJobExecutionException

restartJob

public static RuntimeJobExecution restartJob(long executionId,
                                             Properties restartJobParameters)
                                      throws JobRestartException,
                                             JobExecutionAlreadyCompleteException,
                                             JobExecutionNotMostRecentException,
                                             NoSuchJobExecutionException
Throws:
JobRestartException
JobExecutionAlreadyCompleteException
JobExecutionNotMostRecentException
NoSuchJobExecutionException

getPersistedJobOperatorJobExecution

public static IJobExecution getPersistedJobOperatorJobExecution(long jobExecutionId)
                                                         throws NoSuchJobExecutionException
Throws:
NoSuchJobExecutionException

getJobInstance

public static JobInstance getJobInstance(long executionId)


Copyright © 2013. All Rights Reserved.