C# Класс Summer.Batch.Core.Job.Flow.Support.SimpleFlow

An IFlow that branches conditionally depending on the exit status of the last IState. The input parameters are the state transitions (in no particular order). The start state name can be specified explicitly (and must exist in the set of transitions), or computed from the existing transitions, if unambiguous.
Наследование: IFlow, IInitializationPostOperations
Показать файл Открыть проект

Открытые методы

Метод Описание
AfterPropertiesSet ( ) : void

Performs post-initialization checks. see IInitializationPostOperations#AfterPropertiesSet .

GetName ( ) : string

@see IFlow#GetName .

GetState ( string stateName ) : IState

@see IFlow#GetState .

GetStates ( ) : ICollection

@see IFlow#GetStates .

Resume ( string stateName, IFlowExecutor executor ) : FlowExecution

@see IFlow#Resume .

SimpleFlow ( string name ) : NLog

Constructor using a name.

Start ( IFlowExecutor executor ) : FlowExecution

@see IFlow#Start .

Защищенные методы

Метод Описание
IsFlowContinued ( IState state, FlowExecutionStatus status, StepExecution stepExecution ) : bool

Tests if flow is continued.

NextState ( string stateName, FlowExecutionStatus status, StepExecution stepExecution ) : IState

Returns the next IStep (or null if this is the end).

Приватные методы

Метод Описание
InitializeTransitions ( ) : void

Analyse the transitions provided and generate all the information needed to execute the flow.

Описание методов

AfterPropertiesSet() публичный Метод

Performs post-initialization checks. see IInitializationPostOperations#AfterPropertiesSet .
 
public AfterPropertiesSet ( ) : void
Результат void

GetName() публичный Метод

@see IFlow#GetName .
public GetName ( ) : string
Результат string

GetState() публичный Метод

@see IFlow#GetState .
public GetState ( string stateName ) : IState
stateName string
Результат IState

GetStates() публичный Метод

@see IFlow#GetStates .
public GetStates ( ) : ICollection
Результат ICollection

IsFlowContinued() защищенный Метод

Tests if flow is continued.
protected IsFlowContinued ( IState state, FlowExecutionStatus status, StepExecution stepExecution ) : bool
state IState
status FlowExecutionStatus
stepExecution StepExecution
Результат bool

NextState() защищенный Метод

Returns the next IStep (or null if this is the end).
 
protected NextState ( string stateName, FlowExecutionStatus status, StepExecution stepExecution ) : IState
stateName string
status FlowExecutionStatus
stepExecution StepExecution
Результат IState

Resume() публичный Метод

@see IFlow#Resume .
 
public Resume ( string stateName, IFlowExecutor executor ) : FlowExecution
stateName string
executor IFlowExecutor
Результат FlowExecution

SimpleFlow() публичный Метод

Constructor using a name.
public SimpleFlow ( string name ) : NLog
name string
Результат NLog

Start() публичный Метод

@see IFlow#Start .
 
public Start ( IFlowExecutor executor ) : FlowExecution
executor IFlowExecutor
Результат FlowExecution