Package dev.turboism.sdk.cubism.mirror
Enum Class WarpMirrorOutcome
- All Implemented Interfaces:
Serializable,Comparable<WarpMirrorOutcome>,Constable
Terminal outcome of one
WarpMirrorService.apply(WarpMirrorRequest) call.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe mirrored grid (and any compensation writes) were committed as one Undo entry.A precondition failed before any write;blockerscarry the typed reasons.The grid was already symmetric for the requested direction; nothing was written.The transaction failed mid-write and rollback could not be verified, or a post-write preservation check failed without a clean recovery. -
Method Summary
Modifier and TypeMethodDescriptionstatic WarpMirrorOutcomeReturns the enum constant of this class with the specified name.static WarpMirrorOutcome[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
APPLIED
The mirrored grid (and any compensation writes) were committed as one Undo entry. -
NO_CHANGE
The grid was already symmetric for the requested direction; nothing was written. -
BLOCKED
A precondition failed before any write;blockerscarry the typed reasons. -
RECOVERY_FAILED
The transaction failed mid-write and rollback could not be verified, or a post-write preservation check failed without a clean recovery. No further writes were attempted.
-
-
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
-