Class PropertyLine

  • @ProviderType
    public class PropertyLine
    extends java.lang.Object
    A single "set property" line
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  PropertyLine.PropertyType
      Valid types for these properties
    • Constructor Summary

      Constructor 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
    • Constructor Detail

      • PropertyLine

        public 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
        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: - if the line cannot be parsed.
    • Method Detail

      • getPropertyName

        public java.lang.String getPropertyName()
        the name of the property to set
      • getPropertyValues

        public java.util.List<java.lang.Object> getPropertyValues()
        the list ot values of the property to set
      • isDefault

        public boolean isDefault()
        True if this line is a "default" as opposed to a "set" instruction.
        true if a previously existing value of this property is kept, instead of being overwritten like a "set" instruction does
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object