Enum Class SnapshotMetadataHealer.Outcome
java.lang.Object
java.lang.Enum<SnapshotMetadataHealer.Outcome>
network.ike.plugin.deploy.SnapshotMetadataHealer.Outcome
- All Implemented Interfaces:
Serializable, Comparable<SnapshotMetadataHealer.Outcome>, Constable
- Enclosing class:
SnapshotMetadataHealer
What the healer found and did for one version.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNo metadata yet: the version was never deployed, or it was cleaned up.The metadata matches every checksum sidecar present, or none is present.A sidecar disagreed, but the metadata could not be deleted.A sidecar disagreed; the metadata and its sidecars were deleted.The version is not a snapshot; nothing was read.The repository could not be read; the deploy reports why. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static SnapshotMetadataHealer.Outcome[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_A_SNAPSHOT
The version is not a snapshot; nothing was read. -
ABSENT
No metadata yet: the version was never deployed, or it was cleaned up. -
CONSISTENT
The metadata matches every checksum sidecar present, or none is present. -
HEALED
A sidecar disagreed; the metadata and its sidecars were deleted. -
DELETE_FAILED
A sidecar disagreed, but the metadata could not be deleted. -
UNREACHABLE
The repository could not be read; the deploy reports why.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-