C# Class Summer.Batch.Core.Job.Flow.JobFlowExecutor

Implementation of IFlowExecutor for use in components that need to execute a flow related to a JobExecution.
Inheritance: IFlowExecutor, IDisposable
显示文件 Open project: SummerBatch/SummerBatch Class Usage Examples

Protected Properties

Property Type Description
ExitStatus ExitStatus

Public Methods

Method Description
AbandonStepExecution ( ) : void

@see IFlowExecutor#AbandonStepExecution .

AddExitStatus ( string code ) : void

@see IFlowExecutor#AddExitStatus .

Close ( FlowExecution result ) : void

@see IFlowExecutor#Close .

Dispose ( ) : void

see https://msdn.microsoft.com/fr-fr/library/ms244737.aspx

ExecuteStep ( IStep step ) : string

@see IflowExecutor#ExecuteStep .

GetJobExecution ( ) : JobExecution

@see IFlowExecutor#GetJobExecution .

GetStepExecution ( ) : StepExecution

@see IFlowExectutor#GetStepExecution .

IsRestart ( ) : bool

@see IFlowExecutor#IsRestart .

JobFlowExecutor ( IJobRepository jobRepository, IStepHandler stepHandler, JobExecution execution ) : Summer.Batch.Core.Repository

Custom constructor using a job repository, a step hander and a job execution.

UpdateJobExecutionStatus ( FlowExecutionStatus status ) : void

@see IFlowExecutor#UpdateJobExecutionStatus .

Protected Methods

Method Description
FindBatchStatus ( FlowExecutionStatus status ) : BatchStatus

Retrieves batch status.

Private Methods

Method Description
Dispose ( bool disposing ) : void

see https://msdn.microsoft.com/fr-fr/library/ms244737.aspx

IsStepRestart ( IStep step ) : bool

Method Details

AbandonStepExecution() public method

@see IFlowExecutor#AbandonStepExecution .
public AbandonStepExecution ( ) : void
return void

AddExitStatus() public method

@see IFlowExecutor#AddExitStatus .
public AddExitStatus ( string code ) : void
code string
return void

Close() public method

@see IFlowExecutor#Close .
public Close ( FlowExecution result ) : void
result FlowExecution
return void

Dispose() public method

see https://msdn.microsoft.com/fr-fr/library/ms244737.aspx
public Dispose ( ) : void
return void

ExecuteStep() public method

@see IflowExecutor#ExecuteStep .
     
public ExecuteStep ( IStep step ) : string
step IStep
return string

FindBatchStatus() protected method

Retrieves batch status.
protected FindBatchStatus ( FlowExecutionStatus status ) : BatchStatus
status FlowExecutionStatus
return BatchStatus

GetJobExecution() public method

@see IFlowExecutor#GetJobExecution .
public GetJobExecution ( ) : JobExecution
return JobExecution

GetStepExecution() public method

@see IFlowExectutor#GetStepExecution .
public GetStepExecution ( ) : StepExecution
return StepExecution

IsRestart() public method

@see IFlowExecutor#IsRestart .
public IsRestart ( ) : bool
return bool

JobFlowExecutor() public method

Custom constructor using a job repository, a step hander and a job execution.
public JobFlowExecutor ( IJobRepository jobRepository, IStepHandler stepHandler, JobExecution execution ) : Summer.Batch.Core.Repository
jobRepository IJobRepository
stepHandler IStepHandler
execution JobExecution
return Summer.Batch.Core.Repository

UpdateJobExecutionStatus() public method

@see IFlowExecutor#UpdateJobExecutionStatus .
public UpdateJobExecutionStatus ( FlowExecutionStatus status ) : void
status FlowExecutionStatus
return void

Property Details

ExitStatus protected_oe property

Exit status.
protected ExitStatus ExitStatus
return ExitStatus