Enum AuthenticationResponse.KeyType
- java.lang.Object
-
- java.lang.Enum<AuthenticationResponse.KeyType>
-
- org.spongepowered.gradle.ore.internal.model.AuthenticationResponse.KeyType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AuthenticationResponse.KeyType>
- Enclosing class:
- AuthenticationResponse
public static enum AuthenticationResponse.KeyType extends java.lang.Enum<AuthenticationResponse.KeyType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthenticationResponse.KeyType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AuthenticationResponse.KeyType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KEY
public static final AuthenticationResponse.KeyType KEY
-
USER
public static final AuthenticationResponse.KeyType USER
-
PUBLIC
public static final AuthenticationResponse.KeyType PUBLIC
-
DEV
public static final AuthenticationResponse.KeyType DEV
-
-
Method Detail
-
values
public static AuthenticationResponse.KeyType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AuthenticationResponse.KeyType c : AuthenticationResponse.KeyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthenticationResponse.KeyType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-