ProfileBindingState enum

Where one wayfinder.json binding's Profile stands on this machine, as WayfinderProfileResolver.status reads it offline. Each state is what WayfinderProfileResolver.select does for the binding's bundles, and each but resolved is a reason it selects nothing.

Inheritance
Available extensions

Values

resolved → const ProfileBindingState

select selects the chain: the lock is current and holds it, and every package is in the Profile cache, parses and composes.

const ProfileBindingState('resolved')
lockMissing → const ProfileBindingState

There is no wayfinder.lock, or it cannot be read or parsed. get writes it, fetching what the Profile cache lacks.

const ProfileBindingState('lock-missing')
lockStale → const ProfileBindingState

wayfinder.lock does not match: wayfinder.json changed after get, the lock lacks the binding's chain or records another source for it, or a package declares another release or parent than the lock records. get writes the lock again and keeps each locked commit whose source is unchanged.

const ProfileBindingState('lock-stale')
cacheMissing → const ProfileBindingState

The lock is current, but a package of the chain is not in the Profile cache or cannot be read from it, as on a machine where get never ran for it. A locked-only plan (WayfinderProfileResolver.plan with lockedOnly) fetches exactly the locked commits.

const ProfileBindingState('cache-missing')
packageInvalid → const ProfileBindingState

A package of the chain is malformed (profile-invalid); the Profile is what needs a fix.

const ProfileBindingState('package-invalid')
packageUnsupported → const ProfileBindingState

A package of the chain is for another engine (profile-unsupported); upgrading wayfinder reads it.

const ProfileBindingState('package-unsupported')
packageTimeout → const ProfileBindingState

Reading a package of the chain, its rule tests included, ran past the resolver's packageTimeout (profile-timeout).

const ProfileBindingState('package-timeout')
compositionFailed → const ProfileBindingState

The chain and the project's additions do not compose (profile-composition).

const ProfileBindingState('composition-failed')

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
wireValue → String
The stable value ProfileBindingStatus.toJson reports.
final

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

Constants

values → const List<ProfileBindingState>
A constant List of the values in this enum, in order of their declaration.