Enum Class SplibUtil.LoginStateEnum
- All Implemented Interfaces:
Serializable, Comparable<SplibUtil.LoginStateEnum>, Constable
- Enclosing class:
SplibUtil
Designates login state.
public=no login, account=user login, admin=service provider or administrator login.
It's used the following.
- As a part of url: xxx of
https://domain/contextPath/xxx/..... - Specifies the kind of navBar. Totally different navBar can be shown by each loginState.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIt's the path for common for ecuacion libraries like config. -
Method Summary
Modifier and TypeMethodDescriptiongetCode()static SplibUtil.LoginStateEnumReturns the enum constant of this class with the specified name.static SplibUtil.LoginStateEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PUBLIC
-
ACCOUNT
-
ADMIN
-
ECUACION_PUBLIC
It's the path for common for ecuacion libraries like config.As url it becumes
ecuacion/public.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getCode
-