Enum PageElementResourceAccess.PageElementType
- java.lang.Object
-
- java.lang.Enum<PageElementResourceAccess.PageElementType>
-
- org.ametys.web.cache.monitoring.process.access.impl.PageElementResourceAccess.PageElementType
-
- All Implemented Interfaces:
Serializable
,Comparable<PageElementResourceAccess.PageElementType>
- Enclosing class:
- PageElementResourceAccess
public static enum PageElementResourceAccess.PageElementType extends Enum<PageElementResourceAccess.PageElementType>
Type of a PageElementAccess.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
PageElementType()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PageElementResourceAccess.PageElementType
fromZoneItemType(ZoneItem.ZoneType zoneItemType)
Utility method the get the PageElementType corresponding to a ZoneTypeString
toString()
static PageElementResourceAccess.PageElementType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PageElementResourceAccess.PageElementType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SERVICE
public static final PageElementResourceAccess.PageElementType SERVICE
A service
-
CONTENT
public static final PageElementResourceAccess.PageElementType CONTENT
A content
-
INPUTDATA
public static final PageElementResourceAccess.PageElementType INPUTDATA
An inputdata
-
-
Constructor Detail
-
PageElementType
private PageElementType()
-
-
Method Detail
-
values
public static PageElementResourceAccess.PageElementType[] 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 (PageElementResourceAccess.PageElementType c : PageElementResourceAccess.PageElementType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PageElementResourceAccess.PageElementType 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<PageElementResourceAccess.PageElementType>
-
fromZoneItemType
public static PageElementResourceAccess.PageElementType fromZoneItemType(ZoneItem.ZoneType zoneItemType)
Utility method the get the PageElementType corresponding to a ZoneType- Parameters:
zoneItemType
- the type of zone item- Returns:
- the PageElementType
-
-