Package de.xima.fc.cryptography.rpc
Enum RpcPasswordHint
- java.lang.Object
-
- java.lang.Enum<RpcPasswordHint>
-
- de.xima.fc.cryptography.rpc.RpcPasswordHint
-
- All Implemented Interfaces:
Serializable,Comparable<RpcPasswordHint>
public enum RpcPasswordHint extends Enum<RpcPasswordHint> implements Serializable
- Since:
- 16.07.25
- Author:
- Norman Lorenz
-
-
Enum Constant Summary
Enum Constants Enum Constant Description API_KEYThe password is the same as the API key of the frontend server.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RpcPasswordHintfromString(String name)static RpcPasswordHintvalueOf(String name)Returns the enum constant of this type with the specified name.static RpcPasswordHint[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
API_KEY
public static final RpcPasswordHint API_KEY
The password is the same as the API key of the frontend server.
-
-
Method Detail
-
values
public static RpcPasswordHint[] 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 (RpcPasswordHint c : RpcPasswordHint.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RpcPasswordHint valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromString
public static RpcPasswordHint fromString(String name)
-
-