org.powertac.common.msg
Enum LoginResponseCmd.StatusCode
java.lang.Object
java.lang.Enum<LoginResponseCmd.StatusCode>
org.powertac.common.msg.LoginResponseCmd.StatusCode
- All Implemented Interfaces:
- Serializable, Comparable<LoginResponseCmd.StatusCode>
- Enclosing class:
- LoginResponseCmd
public static enum LoginResponseCmd.StatusCode
- extends Enum<LoginResponseCmd.StatusCode>
OK
public static final LoginResponseCmd.StatusCode OK
OK_BUSY
public static final LoginResponseCmd.StatusCode OK_BUSY
ERR_USERNAME_NOT_FOUND
public static final LoginResponseCmd.StatusCode ERR_USERNAME_NOT_FOUND
ERR_INVALID_APIKEY
public static final LoginResponseCmd.StatusCode ERR_INVALID_APIKEY
values
public static LoginResponseCmd.StatusCode[] 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 (LoginResponseCmd.StatusCode c : LoginResponseCmd.StatusCode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static LoginResponseCmd.StatusCode 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 name
NullPointerException - if the argument is null
Copyright © 2012. All Rights Reserved.