com.x8ing.lsm4j
Interface Action

All Known Implementing Classes:
AbstractBusinessAction, AddBugToFixListAction, AnalyzeCostLossAction, DeployAndReleaseAction, DocumentAndFinishProcessAction, EmptyAction, EndProcessAction, FixAllKnownBugsAction, OperationDownAction, OperationRunsAction, TestingAction

public interface Action

An Action implements the logic that should be processed if the graph reach a certain point. An action can be attached to state or optionally to a transition.

The optional StateMetaInformation can be retrieved from StaticState.getStateMetaInformation().

Author:
Patrick Heusser

Method Summary
 void execute(ProcessableState currentState, StateContext stateContext, Condition previousCondition, java.util.List lastVisitedStatesHistory)
          Will be invoked to process the current state.
 

Method Detail

execute

void execute(ProcessableState currentState,
             StateContext stateContext,
             Condition previousCondition,
             java.util.List lastVisitedStatesHistory)
Will be invoked to process the current state.

Parameters:
currentState -
stateContext -
previousCondition -
lastVisitedStatesHistory - Contains the last visited states as a list. The element with index 0 ist the current State. The size of the history is defined in the graph. Type: ProcessableState


by Patrick Heusser