C# Class Dev2.Data.Decision.Dev2DataListDecisionHandler

Mostrar archivo Open project: Warewolf-ESB/Warewolf Class Usage Examples

Public Methods

Method Description
AddEnvironment ( System.Guid id, IExecutionEnvironment env ) : void
ExecuteDecisionStack ( string decisionDataPayload, IList oldAmbientData, int update ) : bool

Executes the decision stack.

FetchDataListID ( IList oldAmbientData ) : System.Guid

Fetches the data list ID.

FetchSwitchData ( string variableName, IList oldAmbientData ) : string

Fetches the switch data.

RemoveEnvironment ( System.Guid id ) : void

Private Methods

Method Description
EvaluateRegion ( string payload, System.Guid dlId, int update ) : Dev2DecisionStack

Evaluates the region.

FetchStackValue ( Dev2DecisionStack stack, int stackIndex, int columnIndex ) : string

Fetches the stack value.

GetWarewolfEvalResult ( IExecutionEnvironment env, string col, int update ) : WarewolfDataEvaluationCommon.WarewolfEvalResult
ResolveAllRecords ( IExecutionEnvironment env, Dev2DecisionStack stack, Dev2Decision decision, bool effectedCols, ErrorResultTO &errors, int update ) : Dev2DecisionStack

Method Details

AddEnvironment() public method

public AddEnvironment ( System.Guid id, IExecutionEnvironment env ) : void
id System.Guid
env IExecutionEnvironment
return void

ExecuteDecisionStack() public method

Executes the decision stack.
Could not evaluate decision data - No decision function found for [ + typeOf + ]
public ExecuteDecisionStack ( string decisionDataPayload, IList oldAmbientData, int update ) : bool
decisionDataPayload string The decision data payload.
oldAmbientData IList The old ambient data.
update int
return bool

FetchDataListID() public method

Fetches the data list ID.
public FetchDataListID ( IList oldAmbientData ) : System.Guid
oldAmbientData IList The old ambient data.
return System.Guid

FetchSwitchData() public method

Fetches the switch data.
public FetchSwitchData ( string variableName, IList oldAmbientData ) : string
variableName string Name of the variable.
oldAmbientData IList The old ambient data.
return string

RemoveEnvironment() public method

public RemoveEnvironment ( System.Guid id ) : void
id System.Guid
return void