ProfileLockChangeRequiredException class final

lock-change-required: a locked-only plan (WayfinderProfileResolver.plan with lockedOnly) would change wayfinder.lock, so it was refused. change says what and why, as data; the message ends with its reason. Resolving the Profiles without lockedOnly writes the lock the project needs, which a person decides deliberately.

Inheritance

Constructors

ProfileLockChangeRequiredException(ProfileLockChange change)
ProfileLockChangeRequiredException.relock(ProfileLockChange change)
The refusal of WayfinderProfileResolver.relock, which keeps exactly the commits the lock pins, before it writes anything.

Properties

change → ProfileLockChange
What would change in the lock, and why.
final
code → String
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
message → String
finalinherited
profile → ProfileId?
The binding whose chain the lock does not hold as resolving needs it, when one binding is the reason.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → ProfileBindingState
How WayfinderProfileResolver.status would report it: ProfileBindingState.lockMissing or ProfileBindingState.lockStale.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited