Enum Class WarpMirrorOutcome

java.lang.Object
java.lang.Enum<WarpMirrorOutcome>
dev.turboism.sdk.cubism.mirror.WarpMirrorOutcome
All Implemented Interfaces:
Serializable, Comparable<WarpMirrorOutcome>, Constable

@CubismEditor public enum WarpMirrorOutcome extends Enum<WarpMirrorOutcome>
Terminal outcome of one WarpMirrorService.apply(WarpMirrorRequest) call.
  • Enum Constant Details

    • APPLIED

      public static final WarpMirrorOutcome APPLIED
      The mirrored grid (and any compensation writes) were committed as one Undo entry.
    • NO_CHANGE

      public static final WarpMirrorOutcome NO_CHANGE
      The grid was already symmetric for the requested direction; nothing was written.
    • BLOCKED

      public static final WarpMirrorOutcome BLOCKED
      A precondition failed before any write; blockers carry the typed reasons.
    • RECOVERY_FAILED

      public static final WarpMirrorOutcome 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

      public static WarpMirrorOutcome[] 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

      public static WarpMirrorOutcome valueOf(String name)
      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 name
      NullPointerException - if the argument is null