Enum PropertyLine.PropertyType
- java.lang.Object
-
- java.lang.Enum<PropertyLine.PropertyType>
-
- org.apache.sling.repoinit.parser.operations.PropertyLine.PropertyType
-
- All Implemented Interfaces:
Serializable
,Comparable<PropertyLine.PropertyType>
- Enclosing class:
- PropertyLine
public static enum PropertyLine.PropertyType extends Enum<PropertyLine.PropertyType>
Valid types for these properties
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PropertyLine.PropertyType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PropertyLine.PropertyType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
String
public static final PropertyLine.PropertyType String
-
Long
public static final PropertyLine.PropertyType Long
-
Double
public static final PropertyLine.PropertyType Double
-
Date
public static final PropertyLine.PropertyType Date
-
Boolean
public static final PropertyLine.PropertyType Boolean
-
-
Method Detail
-
values
public static PropertyLine.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 (PropertyLine.PropertyType c : PropertyLine.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 PropertyLine.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
-
-