TestimoX

API Reference

Class

RuleExecutionResult

Namespace TestimoX.Execution
Assembly TestimoX

Represents the result of executing a rule.

Inheritance

  • Object
  • RuleExecutionResult

Methods

public static RuleExecutionResult Cancelled() #
Returns: RuleExecutionResult

Factory for a cancelled execution (typically due to user or host cancellation).

public static RuleExecutionResult Failed(String message) #
Returns: RuleExecutionResult

Factory for a failed execution with a message.

Parameters

message System.String requiredposition: 0
public static RuleExecutionResult FromStepResult(Object result) #
Returns: RuleExecutionResult

Creates a success result from a pipeline step result payload.

Parameters

result System.Object requiredposition: 0
public static RuleExecutionResult SkippedResult(String message) #
Returns: RuleExecutionResult

Factory for a skipped execution with a reason.

Parameters

message System.String requiredposition: 0
public static RuleExecutionResult SuccessResult(Object result) #
Returns: RuleExecutionResult

Factory for a successful execution with an optional result payload.

Parameters

result System.Object requiredposition: 0

Properties

public Boolean Success { get; } #

Indicates whether the rule execution completed successfully.

public Boolean Skipped { get; } #

Indicates whether the rule was intentionally skipped (e.g., disabled or preflight failure in soft mode).

public String Message { get; } #

Optional message describing a failure or skip reason.

public Object Result { get; } #

Optional payload produced by the execution.