Package net.worcade.client
Enum Code
- java.lang.Object
-
- java.lang.Enum<Code>
-
- net.worcade.client.Code
-
- All Implemented Interfaces:
Serializable,Comparable<Code>
public enum Code extends Enum<Code>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFLICT_ALLOW_RETRYCONFLICT_NO_RETRYDOMAIN_RESERVEDEMAIL_RESERVEDGENERATED_API_KEYMAILIMPORT_ADDRESS_RESERVEDMAX_LOGIN_ATTEMPTSNO_CHANGESNO_CONNECTIONREMOTE_ID_USED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CodeforCode(Integer code)static CodevalueOf(String name)Returns the enum constant of this type with the specified name.static Code[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_CONNECTION
public static final Code NO_CONNECTION
-
NO_CHANGES
public static final Code NO_CHANGES
-
EMAIL_RESERVED
public static final Code EMAIL_RESERVED
-
REMOTE_ID_USED
public static final Code REMOTE_ID_USED
-
MAILIMPORT_ADDRESS_RESERVED
public static final Code MAILIMPORT_ADDRESS_RESERVED
-
DOMAIN_RESERVED
public static final Code DOMAIN_RESERVED
-
MAX_LOGIN_ATTEMPTS
public static final Code MAX_LOGIN_ATTEMPTS
-
CONFLICT_ALLOW_RETRY
public static final Code CONFLICT_ALLOW_RETRY
-
CONFLICT_NO_RETRY
public static final Code CONFLICT_NO_RETRY
-
GENERATED_API_KEY
public static final Code GENERATED_API_KEY
-
-
Method Detail
-
values
public static Code[] 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 (Code c : Code.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Code 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
-
-