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.
Values
- resolved → const ProfileBindingState
-
selectselects 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.getwrites it, fetching what the Profile cache lacks.const ProfileBindingState('lock-missing') - lockStale → const ProfileBindingState
-
wayfinder.lockdoes not match:wayfinder.jsonchanged afterget, 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.getwrites 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
getnever ran for it. A locked-only plan (WayfinderProfileResolver.plan withlockedOnly) 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); use a matching engine or migrate the package, including when this engine no longer reads its older format.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.