Interface IWorkflowSimulator
Namespace: Casewhere.Runtime.Engine.Services
Assembly: Casewhere.Runtime.dll
public interface IWorkflowSimulator
Extension Methods
ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<IWorkflowSimulator>(IWorkflowSimulator)
Properties
RunningWorkflows
RunningWorkflowCollection RunningWorkflows { get; }
Property Value
Started
bool Started { get; }
Property Value
Methods
CleanAll(WorkflowContext)
void CleanAll(WorkflowContext context)
Parameters
context WorkflowContext
ContainsFormData(string, string)
bool ContainsFormData(string workflowName, string activityName)
Parameters
workflowName string
activityName string
Returns
HandleActivityExecuted(string, string)
void HandleActivityExecuted(string workflowName, string activityName)
Parameters
workflowName string
activityName string
HandleActivityExecuting(string, string)
void HandleActivityExecuting(string workflowName, string activityName)
Parameters
workflowName string
activityName string
OnExecuted(string, string, Action)
void OnExecuted(string workflowName, string activityName, Action action)
Parameters
workflowName string
activityName string
action Action
OnExecuting(string, string, Action)
void OnExecuting(string workflowName, string activityName, Action action)
Parameters
workflowName string
activityName string
action Action
RunTest(Workflow)
void RunTest(Workflow workflow)
Parameters
workflow Workflow
SetFailedTestResult(Workflow, Exception)
void SetFailedTestResult(Workflow workflow, Exception exception)
Parameters
workflow Workflow
exception Exception
SetTestError(string)
void SetTestError(string error)
Parameters
error string
SetTestResult(Workflow)
void SetTestResult(Workflow workflow)
Parameters
workflow Workflow
SimulateFormSubmission(WorkflowContext)
void SimulateFormSubmission(WorkflowContext workflowContext)
Parameters
workflowContext WorkflowContext
Start()
IWorkflowSimulator Start()
Returns
Stop(WorkflowContext)
void Stop(WorkflowContext context)
Parameters
context WorkflowContext
SubmitForm(string, string, IList<FormDataSourceObject>)
void SubmitForm(string workflowName, string activityName, IList<FormDataSourceObject> data)
Parameters
workflowName string
activityName string
data IList<FormDataSourceObject>
Track(Workflow)
void Track(Workflow workflow)
Parameters
workflow Workflow
Track(string)
void Track(string doId)
Parameters
doId string