Class PropertyLine
java.lang.Object
org.apache.sling.repoinit.parser.operations.PropertyLine
A single "set property" line
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumValid types for these properties
- 
Constructor SummaryConstructorsConstructorDescriptionPropertyLine(String name, String typeString, List<String> values, boolean isDefault) Stores data for one line of a "set property" block
- 
Method SummaryModifier and TypeMethodDescriptionbooleanTrue if this line is a "default" as opposed to a "set" instruction.toString()
- 
Constructor Details- 
PropertyLinepublic PropertyLine(String name, String typeString, List<String> values, boolean isDefault) throws Exception Stores data for one line of a "set property" block- Parameters:
- name- name of the property
- typeString- property type, as a String
- values- values of the property
- isDefault- true if this line is a "default" as opposed to a "set" instruction
- Throws:
- org.apache.sling.repoinit.parser.impl.ParseException- if the line cannot be parsed.
- Exception
 
 
- 
- 
Method Details- 
getPropertyName- Returns:
- the name of the property to set
 
- 
getPropertyType- Returns:
- the type of the property to set
 
- 
getPropertyValues- Returns:
- the list ot values of the property to set
 
- 
isDefaultpublic boolean isDefault()True if this line is a "default" as opposed to a "set" instruction.- Returns:
- true if a previously existing value of this property is kept, instead of being overwritten like a "set" instruction does
 
- 
toString
 
-