Enum LoginProcessBean.State
- java.lang.Object
-
- java.lang.Enum<LoginProcessBean.State>
-
- edu.cornell.mannlib.vitro.webapp.controller.login.LoginProcessBean.State
-
- All Implemented Interfaces:
Serializable,Comparable<LoginProcessBean.State>
- Enclosing class:
- LoginProcessBean
public static enum LoginProcessBean.State extends Enum<LoginProcessBean.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FORCED_PASSWORD_CHANGELOGGED_INLOGGING_INNOWHERE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LoginProcessBean.StatevalueOf(String name)Returns the enum constant of this type with the specified name.static LoginProcessBean.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOWHERE
public static final LoginProcessBean.State NOWHERE
-
LOGGING_IN
public static final LoginProcessBean.State LOGGING_IN
-
FORCED_PASSWORD_CHANGE
public static final LoginProcessBean.State FORCED_PASSWORD_CHANGE
-
LOGGED_IN
public static final LoginProcessBean.State LOGGED_IN
-
-
Method Detail
-
values
public static LoginProcessBean.State[] 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 (LoginProcessBean.State c : LoginProcessBean.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LoginProcessBean.State 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
-
-