Package org.gcube.common.security
Enum ContextBean.Type
- java.lang.Object
-
- java.lang.Enum<ContextBean.Type>
-
- org.gcube.common.security.ContextBean.Type
-
- All Implemented Interfaces:
Serializable,Comparable<ContextBean.Type>
- Enclosing class:
- ContextBean
public static enum ContextBean.Type extends Enum<ContextBean.Type> implements Comparable<ContextBean.Type>
Scope types *
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INFRASTRUCTUREVOVRE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ContextBean.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static ContextBean.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Enum Constant Detail
-
VRE
public static final ContextBean.Type VRE
-
VO
public static final ContextBean.Type VO
-
INFRASTRUCTURE
public static final ContextBean.Type INFRASTRUCTURE
-
-
Method Detail
-
values
public static ContextBean.Type[] 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 (ContextBean.Type c : ContextBean.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContextBean.Type 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
-
-