Zum Hauptinhalt springen

BlueprintUpdateOptions

Namespace: Meshmakers.Octo.Runtime.Contracts.Blueprints

Options for blueprint update

public class BlueprintUpdateOptions

Inheritance Object → BlueprintUpdateOptions

Properties​

DryRun​

If true, only simulate the update without making changes

public bool DryRun { get; set; }

Property Value​

Boolean

ConflictResolutions​

Manual conflict resolutions (entity ID -> resolution)

public Dictionary<string, ConflictResolution> ConflictResolutions { get; set; }

Property Value​

Dictionary<String, ConflictResolution>

ContinueOnError​

If true, continue on non-fatal errors

public bool ContinueOnError { get; set; }

Property Value​

Boolean

AllowBlanking​

Explicit confirmation that the update may blank EVERY attribute listed in BlueprintUpdatePreview.BlankedAttributes (engine policy RtImportBlankingPolicy.Allow). Default false: tenant values are kept and the result lists them. Prefer BlueprintUpdateOptions.ConfirmedBlankings to confirm single attributes.

public bool AllowBlanking { get; set; }

Property Value​

Boolean

ConfirmedBlankings​

Confirms blanking for exactly these entity/attribute pairs; everything else listed stays kept. Ignored when BlueprintUpdateOptions.AllowBlanking is true.

public List<BlueprintBlankingConfirmation> ConfirmedBlankings { get; set; }

Property Value​

List<BlueprintBlankingConfirmation>

CkUpgradeGuard​

How a CK update set that would break an installed model is treated (tenant upgrade guard, CK v2 F2.5). Default BlueprintCkUpgradeGuardMode.Off: no enforcement, existing callers behave as before. With BlueprintCkUpgradeGuardMode.Enforce the update is refused before the first change; BlueprintCkUpgradeGuardMode.ForceBreakingUpdate proceeds and reports the blockers. A dry run never refuses: it reports the blockers.

public BlueprintCkUpgradeGuardMode CkUpgradeGuard { get; set; }

Property Value​

BlueprintCkUpgradeGuardMode

Constructors​

BlueprintUpdateOptions()​

public BlueprintUpdateOptions()