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

IState implementation for ending a job if it is in progress and continuing if just starting.
Наследование: Summer.Batch.Core.Job.Flow.Support.State.AbstractState
Показать файл Открыть проект

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

Метод Описание
EndState ( FlowExecutionStatus status, string name ) : System

Custom constructor using a status and a name.

EndState ( FlowExecutionStatus status, string code, string name ) : System

Custom constructor using a status, a code and a name.

EndState ( FlowExecutionStatus status, string code, string name, bool abandon ) : System

Custom constructor using a status, a code, a name and an abandon flag.

EndState ( string name ) : System

Custom constructor using a name.

Handle ( IFlowExecutor executor ) : FlowExecutionStatus

Returns the FlowExecutionStatus stored. @see IState#Handle

IsEndState ( ) : bool

@see IState#IsEndState .

ToString ( ) : string

ToString override.

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

Метод Описание
SetExitStatus ( IFlowExecutor executor, string code ) : void

Performs any logic to update the exit status for the current flow.

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

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

Custom constructor using a status and a name.
public EndState ( FlowExecutionStatus status, string name ) : System
status FlowExecutionStatus The FlowExecutionStatus to end with
name string The name of the state
Результат System

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

Custom constructor using a status, a code and a name.
public EndState ( FlowExecutionStatus status, string code, string name ) : System
status FlowExecutionStatus The FlowExecutionStatus to end with
code string
name string The name of the state
Результат System

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

Custom constructor using a status, a code, a name and an abandon flag.
public EndState ( FlowExecutionStatus status, string code, string name, bool abandon ) : System
status FlowExecutionStatus The FlowExecutionStatus to end with
code string
name string The name of the state
abandon bool flag to indicate that previous step execution can be marked as abandoned (if there is one)
Результат System

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

Custom constructor using a name.
public EndState ( string name ) : System
name string
Результат System

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

Returns the FlowExecutionStatus stored. @see IState#Handle
 
public Handle ( IFlowExecutor executor ) : FlowExecutionStatus
executor IFlowExecutor
Результат FlowExecutionStatus

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

@see IState#IsEndState .
public IsEndState ( ) : bool
Результат bool

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

Performs any logic to update the exit status for the current flow.
protected SetExitStatus ( IFlowExecutor executor, string code ) : void
executor IFlowExecutor FlowExecutor for the current flow
code string The exit status to save
Результат void

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

ToString override.
public ToString ( ) : string
Результат string