Method | Description | |
---|---|---|
AfterPropertiesSet ( ) : void |
Check mandatory properties (jobRepository). @see IInitializationPostOperations#AfterPropertiesSet .
|
|
HandleStep ( IStep step, JobExecution execution ) : StepExecution |
@see IStepHandler#HandleStep .
|
|
SimpleStepHandler ( ) : NLog |
Convenient default constructor for configuration usage.
|
|
SimpleStepHandler ( IJobRepository jobRepository ) : NLog |
Custom constructor using a job repository.
|
|
SimpleStepHandler ( IJobRepository jobRepository, ExecutionContext executionContext ) : NLog |
Custom constructor using a job repository and an execution context.
|
Method | Description | |
---|---|---|
ShouldStart ( StepExecution lastStepExecution, JobExecution jobExecution, IStep step ) : bool |
Given a step and configuration, return true if the step should start, false if it should not, and throw an exception if the job should finish.
|
Method | Description | |
---|---|---|
HandleRestart ( StepExecution lastStepExecution, StepExecution currentStepExecution ) : void |
Handle restartability if needed.
|
|
HandleStepExecution ( IStep step, JobExecution execution, StepExecution currentStepExecution ) : void |
Handle normal step execution.
|
|
StepExecutionPartOfExistingJobExecution ( JobExecution jobExecution, StepExecution stepExecution ) : bool |
public HandleStep ( IStep step, JobExecution execution ) : StepExecution | ||
step | IStep | |
execution | JobExecution | |
return | StepExecution |
protected ShouldStart ( StepExecution lastStepExecution, JobExecution jobExecution, IStep step ) : bool | ||
lastStepExecution | StepExecution | |
jobExecution | JobExecution | |
step | IStep | |
return | bool |
public SimpleStepHandler ( IJobRepository jobRepository ) : NLog | ||
jobRepository | IJobRepository | |
return | NLog |
public SimpleStepHandler ( IJobRepository jobRepository, ExecutionContext executionContext ) : NLog | ||
jobRepository | IJobRepository | |
executionContext | ExecutionContext | |
return | NLog |