Enum GeportalCheckAccessPolicy.ACCESS_POLICY
- java.lang.Object
-
- java.lang.Enum<GeportalCheckAccessPolicy.ACCESS_POLICY>
-
- org.gcube.application.geoportalcommon.geoportal.access.GeportalCheckAccessPolicy.ACCESS_POLICY
-
- All Implemented Interfaces:
Serializable,Comparable<GeportalCheckAccessPolicy.ACCESS_POLICY>
- Enclosing class:
- GeportalCheckAccessPolicy
public static enum GeportalCheckAccessPolicy.ACCESS_POLICY extends Enum<GeportalCheckAccessPolicy.ACCESS_POLICY>
The Enum ACCESS_POLICY.- Author:
- Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Sep 8, 2021
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeportalCheckAccessPolicy.ACCESS_POLICYvalueOf(String name)Returns the enum constant of this type with the specified name.static GeportalCheckAccessPolicy.ACCESS_POLICY[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPEN
public static final GeportalCheckAccessPolicy.ACCESS_POLICY OPEN
-
RESTICTED
public static final GeportalCheckAccessPolicy.ACCESS_POLICY RESTICTED
-
-
Method Detail
-
values
public static GeportalCheckAccessPolicy.ACCESS_POLICY[] 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 (GeportalCheckAccessPolicy.ACCESS_POLICY c : GeportalCheckAccessPolicy.ACCESS_POLICY.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeportalCheckAccessPolicy.ACCESS_POLICY 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
-
-