Skip to main content

RollupRepairReport

Namespace: Meshmakers.Octo.Runtime.Contracts.StreamData

What IStreamDataRepository.RepairRollupsAsync(IReadOnlyCollection<OctoObjectId>, Boolean, CancellationToken) did: the validation before, every step, the validation after.

public record RollupRepairReport : IEquatable<RollupRepairReport>

Inheritance Object → RollupRepairReport
Implements IEquatable<RollupRepairReport>

Properties​

DryRun​

True when nothing was changed.

public bool DryRun { get; set; }

Property Value​

Boolean

Before​

The validator's report before any step.

public RollupConsistencyReport Before { get; set; }

Property Value​

RollupConsistencyReport

Actions​

The steps in the order they were (or would be) run.

public IReadOnlyList<RollupRepairAction> Actions { get; set; }

Property Value​

IReadOnlyList<RollupRepairAction>

After​

The validator's report after the steps; null on a dry run.

public RollupConsistencyReport After { get; set; }

Property Value​

RollupConsistencyReport

FailedStep​

The first failed step, named; null when none failed.

public string FailedStep { get; set; }

Property Value​

String

IsOk​

True when nothing failed and (unless dry run) the tenant validates ok.

public bool IsOk { get; }

Property Value​

Boolean

Constructors​

RollupRepairReport(Boolean, RollupConsistencyReport, IReadOnlyList<RollupRepairAction>, RollupConsistencyReport, String)​

What IStreamDataRepository.RepairRollupsAsync(IReadOnlyCollection<OctoObjectId>, Boolean, CancellationToken) did: the validation before, every step, the validation after.

public RollupRepairReport(bool DryRun, RollupConsistencyReport Before, IReadOnlyList<RollupRepairAction> Actions, RollupConsistencyReport After, string FailedStep)

Parameters​

DryRun Boolean
True when nothing was changed.

Before RollupConsistencyReport
The validator's report before any step.

Actions IReadOnlyList<RollupRepairAction>
The steps in the order they were (or would be) run.

After RollupConsistencyReport
The validator's report after the steps; null on a dry run.

FailedStep String
The first failed step, named; null when none failed.