Class Configuration

    • Field Detail

      • properties

        private final java.util.SortedSet<Property> properties
    • Constructor Detail

      • Configuration

        public Configuration()
    • Method Detail

      • addProperty

        public void addProperty​(Property property)
      • removeProperty

        public boolean removeProperty​(Property property)
      • setProperty

        public void setProperty​(java.lang.String name,
                                java.lang.Object value)
      • removeProperty

        public boolean removeProperty​(java.lang.String name)
      • hasProperties

        public boolean hasProperties()
      • getProperty

        public Property getProperty​(java.lang.String name)
      • getProperties

        public java.util.SortedSet<Property> getProperties()
      • getPropertyMap

        public java.util.Map<java.lang.String,​java.lang.Object> getPropertyMap()
      • setPropertyMap

        public void setPropertyMap​(java.util.Map<java.lang.String,​java.lang.Object> props)
      • setProperties

        public void setProperties​(java.util.Collection<Property> props)
      • addConfiguration

        public void addConfiguration​(Configuration config)
      • validate

        public void validate()
      • compareTo

        public int compareTo​(Configuration config)
        Specified by:
        compareTo in interface java.lang.Comparable<Configuration>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • appendProperties

        protected void appendProperties​(java.lang.StringBuilder out)