Class PropertyDefinitions

    • Constructor Detail

      • PropertyDefinitions

        public PropertyDefinitions​(System2 system,
                                   java.lang.Object... components)
    • Method Detail

      • addComponents

        public PropertyDefinitions addComponents​(java.util.Collection components)
      • addComponents

        public PropertyDefinitions addComponents​(java.util.Collection components,
                                                 java.lang.String defaultCategory)
      • addComponent

        public PropertyDefinitions addComponent​(java.lang.Object component,
                                                java.lang.String defaultCategory)
      • getValueFromEnv

        public java.util.Optional<java.lang.String> getValueFromEnv​(java.lang.String key)
      • getAllPropertiesSetInEnv

        public java.util.Map<java.lang.String,​java.lang.String> getAllPropertiesSetInEnv()
      • validKey

        public java.lang.String validKey​(java.lang.String key)
      • propertiesByCategory

        public java.util.Map<Category,​java.util.Map<SubCategory,​java.util.Collection<PropertyDefinition>>> propertiesByCategory​(@Nullable
                                                                                                                                            java.lang.String qualifier)
        Since:
        3.7
      • getDefaultValue

        @CheckForNull
        public java.lang.String getDefaultValue​(java.lang.String key)
      • getCategory

        public java.lang.String getCategory​(java.lang.String key)
      • getSubCategory

        public java.lang.String getSubCategory​(java.lang.String key)
      • getCategory

        public java.lang.String getCategory​(Property prop)
      • getNewKey

        public java.lang.String getNewKey​(java.lang.String deprecatedKey)
      • getDeprecatedKey

        public java.lang.String getDeprecatedKey​(java.lang.String key)