Zum Hauptinhalt springen

BlueprintCkUpgradeBlocker

Namespace: Meshmakers.Octo.Runtime.Contracts.Blueprints

One reason why an installed model would break if the CK models of a blueprint were installed (tenant upgrade guard). Language-neutral data plus an English BlueprintCkUpgradeBlocker.Message; the same entries the library status reports and the import endpoints refuse with.

public sealed class BlueprintCkUpgradeBlocker

Inheritance Object → BlueprintCkUpgradeBlocker

Properties​

Dependent​

The model that would break, full id (for example EnergyCommunity.Registration-2.8.0).

public string Dependent { get; set; }

Property Value​

String

Update​

The model of the update that causes it, full id (for example Basic-2.5.0).

public string Update { get; set; }

Property Value​

String

Kind​

Blocker kind: ExactPin, FloorNotMet, RangeNotSatisfied, ElementRemoved, ElementChanged, ElementBecameInternal or NameCollision. Kept as text: new kinds must not break clients.

public string Kind { get; set; }

Property Value​

String

Subject​

The pin, range or element / member the blocker is about.

public string Subject { get; set; }

Property Value​

String

Code​

Stable code per kind, for example CK_UPGRADE_EXACT_PIN.

public string Code { get; set; }

Property Value​

String

Message​

English explanation naming the dependent.

public string Message { get; set; }

Property Value​

String

DependentIsInUpdateSet​

True when BlueprintCkUpgradeBlocker.Dependent is itself a model of the evaluated update set.

public bool DependentIsInUpdateSet { get; set; }

Property Value​

Boolean

SuggestedDependentUpdate​

A newer version of the dependent that was proven to resolve the blocker; null when there is none.

public string SuggestedDependentUpdate { get; set; }

Property Value​

String

ResolveHint​

Human-readable next step when BlueprintCkUpgradeBlocker.SuggestedDependentUpdate is set; null otherwise.

public string ResolveHint { get; set; }

Property Value​

String

Constructors​

BlueprintCkUpgradeBlocker()​

public BlueprintCkUpgradeBlocker()