ChangeKind enum

What a plan proposes to do about one resource, or what an apply did.

Inheritance
Available extensions

Values

noop → const ChangeKind

Nothing to do — the node already matches.

create → const ChangeKind

The resource is not there and should be.

update → const ChangeKind

It is there but not as declared.

remove → const ChangeKind

It is there and should not be. Either declared ensure: absent, or in the node's ledger and no longer in the blueprint at all.

unknown → const ChangeKind

Its provider could not tell what state it was in, so nothing was planned.

Distinct from noop: a no-op means "already right", this means "I do not know", and an operator reading a converged plan deserves to know which.

skipped → const ChangeKind

Not attempted, because something it requires failed.

failed → const ChangeKind

Attempted and did not work.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
isWork bool
Whether this kind would change the machine if applied.
no setter
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

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

Static Methods

parse(String value) ChangeKind
Parses a wire name, defaulting to unknown.

Constants

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