AdoptionStepOutcome enum

Where a step stands: started while it runs, then how it ended.

Inheritance
Available extensions

Values

started → const AdoptionStepOutcome

The step began. Reported only to KnowledgeAdoption.apply's onStep, never in a result or an exception.

const AdoptionStepOutcome('started')
done → const AdoptionStepOutcome
const AdoptionStepOutcome('done')
skipped → const AdoptionStepOutcome

Nothing to do, as for a bound bundle or a .gitignore that already ignores the lock.

const AdoptionStepOutcome('skipped')
failed → const AdoptionStepOutcome

The step failed; the steps before it were undone.

const AdoptionStepOutcome('failed')
undone → const AdoptionStepOutcome

The step had finished, and a later failure undid it.

const AdoptionStepOutcome('undone')
undoFailed → const AdoptionStepOutcome

The step had finished, and undoing it after a later failure failed too, so the project may still hold some of what it wrote.

const AdoptionStepOutcome('undo-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
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<AdoptionStepOutcome>
A constant List of the values in this enum, in order of their declaration.