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
Afficher le fichier Open project: SummerBatch/SummerBatch Class Usage Examples

Protected Properties

Свойство Type Description
ExitStatus ExitStatus

Méthodes publiques

Méthode 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 .

Méthodes protégées

Méthode Description
FindBatchStatus ( FlowExecutionStatus status ) : BatchStatus

Retrieves batch status.

Private Methods

Méthode Description
Dispose ( bool disposing ) : void

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

IsStepRestart ( IStep step ) : bool

Method Details

AbandonStepExecution() public méthode

@see IFlowExecutor#AbandonStepExecution .
public AbandonStepExecution ( ) : void
Résultat void

AddExitStatus() public méthode

@see IFlowExecutor#AddExitStatus .
public AddExitStatus ( string code ) : void
code string
Résultat void

Close() public méthode

@see IFlowExecutor#Close .
public Close ( FlowExecution result ) : void
result FlowExecution
Résultat void

Dispose() public méthode

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

ExecuteStep() public méthode

@see IflowExecutor#ExecuteStep .
     
public ExecuteStep ( IStep step ) : string
step IStep
Résultat string

FindBatchStatus() protected méthode

Retrieves batch status.
protected FindBatchStatus ( FlowExecutionStatus status ) : BatchStatus
status FlowExecutionStatus
Résultat BatchStatus

GetJobExecution() public méthode

@see IFlowExecutor#GetJobExecution .
public GetJobExecution ( ) : JobExecution
Résultat JobExecution

GetStepExecution() public méthode

@see IFlowExectutor#GetStepExecution .
public GetStepExecution ( ) : StepExecution
Résultat StepExecution

IsRestart() public méthode

@see IFlowExecutor#IsRestart .
public IsRestart ( ) : bool
Résultat bool

JobFlowExecutor() public méthode

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
Résultat Summer.Batch.Core.Repository

UpdateJobExecutionStatus() public méthode

@see IFlowExecutor#UpdateJobExecutionStatus .
public UpdateJobExecutionStatus ( FlowExecutionStatus status ) : void
status FlowExecutionStatus
Résultat void

Property Details

ExitStatus protected_oe property

Exit status.
protected ExitStatus ExitStatus
Résultat ExitStatus