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
파일 보기 프로젝트 열기: SummerBatch/SummerBatch

공개 메소드들

메소드 설명
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