@ProviderType
public class PropertyLine
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PropertyLine.PropertyType
Valid types for these properties
|
Constructor and Description |
---|
PropertyLine(java.lang.String name,
java.lang.String typeString,
java.util.List<java.lang.String> values,
boolean isDefault)
Stores data for one line of a "set property" block
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPropertyName() |
PropertyLine.PropertyType |
getPropertyType() |
java.util.List<java.lang.Object> |
getPropertyValues() |
boolean |
isDefault()
True if this line is a "default" as opposed to a "set" instruction.
|
java.lang.String |
toString() |
public PropertyLine(java.lang.String name, java.lang.String typeString, java.util.List<java.lang.String> values, boolean isDefault) throws org.apache.sling.repoinit.parser.impl.ParseException
name
- name of the propertytypeString
- property type, as a Stringvalues
- values of the propertyisDefault
- true if this line is a "default" as opposed to a "set" instructionorg.apache.sling.repoinit.parser.impl.ParseException
- if the line cannot be parsed.public java.lang.String getPropertyName()
public PropertyLine.PropertyType getPropertyType()
public java.util.List<java.lang.Object> getPropertyValues()
public boolean isDefault()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2022 The Apache Software Foundation. All rights reserved.