Craig's Utility Library
4.0 Beta
|
Workflow node interface More...
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... | |
T | Start (T Data) |
Starts the node using the data specified More... | |
Workflow node interface
T | Data type expected |
Definition at line 34 of file IWorkflowNode.cs.
void Utilities.Workflow.Manager.Interfaces.IWorkflowNode< T >.AddOperation | ( | IOperation< T > | Operation, |
params IConstraint< T >[] | Constraints | ||
) |
Adds an operation to be run with the node
Operation | The operation. |
Constraints | The 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
Operation | The operation. |
Constraints | The 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.
Times | The number of times to repeat |
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.
Times | The number of times to retry. |
Implemented in Utilities.Workflow.Manager.WorkflowNode< T >.
T Utilities.Workflow.Manager.Interfaces.IWorkflowNode< T >.Start | ( | T | Data | ) |
Starts the node using the data specified
Data | The data. |
Implemented in Utilities.Workflow.Manager.WorkflowNode< T >.