Craig's Utility Library  4.0 Beta
Utilities.Workflow.Manager.Interfaces.IWorkflowNode< T > Interface Template Reference

Workflow node interface More...

Inheritance diagram for Utilities.Workflow.Manager.Interfaces.IWorkflowNode< T >:
Utilities.Workflow.Manager.WorkflowNode< T >

Public Member Functions

void AddOperation (IOperation< T > Operation, params IConstraint< T >[] Constraints)
 Adds an operation to be run with the node More...
 
void AddOperation (IWorkflow< T > Operation, params IConstraint< T >[] Constraints)
 Adds an operation to be run with the node More...
 
void Repeat (int Times=1)
 Repeats the last operation the specified number of times. More...
 
void Retry (int Times=1)
 Retries the last operation the specified number of times if it fails. More...
 
Start (T Data)
 Starts the node using the data specified More...
 

Detailed Description

Workflow node interface

Template Parameters
TData type expected

Definition at line 34 of file IWorkflowNode.cs.

Member Function Documentation

void Utilities.Workflow.Manager.Interfaces.IWorkflowNode< T >.AddOperation ( IOperation< T >  Operation,
params IConstraint< T >[]  Constraints 
)

Adds an operation to be run with the node

Parameters
OperationThe operation.
ConstraintsThe constraints.

Implemented in Utilities.Workflow.Manager.WorkflowNode< T >.

void Utilities.Workflow.Manager.Interfaces.IWorkflowNode< T >.AddOperation ( IWorkflow< T >  Operation,
params IConstraint< T >[]  Constraints 
)

Adds an operation to be run with the node

Parameters
OperationThe operation.
ConstraintsThe constraints.

Implemented in Utilities.Workflow.Manager.WorkflowNode< T >.

void Utilities.Workflow.Manager.Interfaces.IWorkflowNode< T >.Repeat ( int  Times = 1)

Repeats the last operation the specified number of times.

Parameters
TimesThe number of times to repeat
Returns
The workflow object

Implemented in Utilities.Workflow.Manager.WorkflowNode< T >.

void Utilities.Workflow.Manager.Interfaces.IWorkflowNode< T >.Retry ( int  Times = 1)

Retries the last operation the specified number of times if it fails.

Parameters
TimesThe number of times to retry.
Returns
The workflow object

Implemented in Utilities.Workflow.Manager.WorkflowNode< T >.

Starts the node using the data specified

Parameters
DataThe data.
Returns
The result from the workflow node

Implemented in Utilities.Workflow.Manager.WorkflowNode< T >.


The documentation for this interface was generated from the following file: