Generated by
JDiff

org.springframework.core.env Documentation Differences

This file contains all the changes in documentation in the package org.springframework.core.env as colored differences. Deletions are shown like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.

Class Environment, boolean acceptsProfiles(String[])

Return whether one or more of the given profiles is active or, in the case of no explicit active profiles, whether one or more of the given profiles is included in the set of default profiles profiles. If a profile begins with '!' the logic is inverted, i.e. the method will return true if the given profile is not active. For example, {@code env.acceptsProfiles("p1", "!p2")} will return true if profile 'p1' is active or 'p2' is not active. @throws IllegalArgumentException if called with zero arguments @throws IllegalArgumentException if any profile is null, empty or whitespace-only @see #getActiveProfiles @see #getDefaultProfiles

Class PropertyResolver, T getProperty(String, Class<T>)

Return the property value associated with the given key, or {@code null} if the key cannot be resolved. @param key the property name to resolve @param TtargetType the expected type of the property value @see #getRequiredProperty(String, Class)
Class PropertyResolver, T getProperty(String, Class<T>, T)

Return the property value associated with the given key, or {@code defaultValue} if the key cannot be resolved. @param key the property name to resolve @param TtargetType the expected type of the property value @param defaultValue the default value to return if no value is found @see #getRequiredProperty(String, Class)