Package com.ultikits.ultitools.websocket
Enum Class CloudPlayerLinks.ExpiryReason
java.lang.Object
java.lang.Enum<CloudPlayerLinks.ExpiryReason>
com.ultikits.ultitools.websocket.CloudPlayerLinks.ExpiryReason
- All Implemented Interfaces:
Serializable,Comparable<CloudPlayerLinks.ExpiryReason>,java.lang.constant.Constable
- Enclosing class:
CloudPlayerLinks
Why a link stopped being usable.
- Since:
- 6.3.1
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static CloudPlayerLinks.ExpiryReason[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXPIRED
Nobody completed the link within its 600-second lifetime. -
CANCELLED
A newer/panelreplaced the link, or the plugin or player cancelled it. -
DENIED
The web user explicitly refused the confirmation page.
-
-
Constructor Details
-
ExpiryReason
private ExpiryReason()
-
-
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
-