TestimoX

API Reference

Class

StorageConfig

Namespace TestimoX.Configuration.Storage
Assembly TestimoX
Modifiers sealed

User-facing configuration for the optional durable results store.

Inheritance

  • Object
  • StorageConfig

Constructors

Properties

public Boolean Enabled { get; set; } #

Enable/disable the store for this run.

public String Directory { get; set; } #

Target directory for the store. When omitted, hosts may choose a default.

public StoragePolicy Policy { get; set; } #

Read/write behavior. Default is ReadWrite when Enabled is true.

public TimeSpan Ttl { get; set; } #

Reuse time-to-live for cached results. Older results are considered stale.

public Boolean AcceptStale { get; set; } #

When true, stale results may be reused (confidence should reflect age).

public MatchPolicy Match { get; set; } #

Fingerprint matching strictness when reusing cached results.

public RawPolicy Raw { get; set; } #

Policy for persisting large raw payloads.

public Nullable<TimeSpan> UsersTtl { get; set; } #

Optional TTL override for Users snapshots and extras. When null, Ttl applies.

public Nullable<TimeSpan> ComputersTtl { get; set; } #

Optional TTL override for Computers snapshots and extras. When null, Ttl applies.

public String RunId { get; set; } #

Optional explicit run identifier. When provided, the engine and store will use this value to group results under runs/<RunId>. If omitted, a random identifier is generated.

public String ResumeFromRun { get; set; } #

When set, the engine will attempt to resume a previously started run identified by this value. Any rule whose exact fingerprint matches an entry in runs/<ResumeFromRun>/index.jsonl is treated as completed and skipped with a "cached (resumed)" reason. This is independent of TTL.