Enum Class ClaimResult.StopReason

java.lang.Object
java.lang.Enum<ClaimResult.StopReason>
lol.trq.alts.account.ClaimResult.StopReason
All Implemented Interfaces:
Serializable, Comparable<ClaimResult.StopReason>, Constable
Enclosing class:
ClaimResult

public static enum ClaimResult.StopReason extends Enum<ClaimResult.StopReason>
Why a scheduled claim stopped.
Since:
0.12.0
  • Enum Constant Details

    • CLAIMED

      public static final ClaimResult.StopReason CLAIMED
      The name was claimed.
      Since:
      0.12.0
    • WINDOW_ELAPSED

      public static final ClaimResult.StopReason WINDOW_ELAPSED
      The window ran out with every attempt refused.
      Since:
      0.12.0
    • TERMINAL_FAILURE

      public static final ClaimResult.StopReason TERMINAL_FAILURE
      A failure ended the run: one no retry can fix (a refused token, an account with nothing to rename), the service asking the run to slow down, or the runtime closing under it. ClaimResult.failure() says which; a rate limit carries the wait it asked for, when it said.
      Since:
      0.12.0
    • CANCELLED

      public static final ClaimResult.StopReason CANCELLED
      The caller cancelled the run.
      Since:
      0.12.0
  • Method Details

    • values

      public static ClaimResult.StopReason[] 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 ClaimResult.StopReason 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