TestimoX

API Reference

Class

RuleExecutionPipeline

Namespace TestimoX.Execution.Pipeline
Assembly TestimoX

Executes rules using discrete pipeline steps, with optional middleware.

Inheritance

  • Object
  • RuleExecutionPipeline

Constructors

public RuleExecutionPipeline() #

Initializes the default pipeline ordering (validation → environment → LDAP preflight → method → result → tests).

Methods

public async Task<RuleExecutionResult> ExecuteAsync(RuleComplete rule, RuleExecutionContext context) #
Returns: Task<RuleExecutionResult>

Executes the configured pipeline for the specified rule.

Parameters

rule TestimoX.Definitions.RuleComplete requiredposition: 0
Rule to execute.
context TestimoX.Execution.RuleExecutionContext requiredposition: 1
Execution context.

Returns

Result of rule execution.

ShouldContinue(TestimoX.Execution.Pipeline.StepResult result) #

Determines whether pipeline execution should continue to the next step.

Parameters

result TestimoX.Execution.Pipeline.StepResult required
Result of the current step.

Returns

true to continue execution; otherwise, false.

public Void Use(IRuleExecutionMiddleware middleware) #
Returns: Void

Adds middleware to the execution pipeline.

Parameters

middleware TestimoX.Execution.Pipeline.Middleware.IRuleExecutionMiddleware requiredposition: 0
Middleware instance.