Package org.bedework.caldav.server
Enum PropertyHandler.PropertyType
- java.lang.Object
-
- java.lang.Enum<PropertyHandler.PropertyType>
-
- org.bedework.caldav.server.PropertyHandler.PropertyType
-
- All Implemented Interfaces:
Serializable,Comparable<PropertyHandler.PropertyType>
- Enclosing class:
- PropertyHandler
public static enum PropertyHandler.PropertyType extends Enum<PropertyHandler.PropertyType>
Allow callers to specify which set of properties are to be processed- Author:
- douglm
-
-
Enum Constant Summary
Enum Constants Enum Constant Description calendarPropertycollectionPropertyfolderPropertygeneralPropertyProperty that can apply to anythinggroupPropertyprincipalPropertyuserProperty
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PropertyHandler.PropertyTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PropertyHandler.PropertyType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
generalProperty
public static final PropertyHandler.PropertyType generalProperty
Property that can apply to anything
-
principalProperty
public static final PropertyHandler.PropertyType principalProperty
-
userProperty
public static final PropertyHandler.PropertyType userProperty
-
groupProperty
public static final PropertyHandler.PropertyType groupProperty
-
collectionProperty
public static final PropertyHandler.PropertyType collectionProperty
-
folderProperty
public static final PropertyHandler.PropertyType folderProperty
-
calendarProperty
public static final PropertyHandler.PropertyType calendarProperty
-
-
Method Detail
-
values
public static PropertyHandler.PropertyType[] 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 (PropertyHandler.PropertyType c : PropertyHandler.PropertyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropertyHandler.PropertyType 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
-
-