| 程序包 | 说明 |
|---|---|
| cn.sliew.milky.common.environment |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractPropertySource<T> |
class |
MapPropertySource |
class |
PropertiesPropertySource |
| 限定符和类型 | 方法和说明 |
|---|---|
Optional<PropertySource<?>> |
MutablePropertySources.getPropertySource(String name) |
Optional<PropertySource<?>> |
PropertySourceIterable.getPropertySource(String name)
Find the property source with the given name,
Optional.empty() if not found. |
Iterator<PropertySource<?>> |
MutablePropertySources.iterator() |
Optional<PropertySource<?>> |
MutablePropertySources.remove(String name)
Remove and return the property source with the given name,
null if not found. |
Spliterator<PropertySource<?>> |
MutablePropertySources.spliterator() |
Stream<PropertySource<?>> |
MutablePropertySources.stream() |
default Stream<PropertySource<?>> |
PropertySourceIterable.stream() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
MutablePropertySources.addAfter(String relativePropertySourceName,
PropertySource<?> propertySource)
Add the given property source object with precedence immediately lower
than the named relative property source.
|
void |
MutablePropertySources.addBefore(String relativePropertySourceName,
PropertySource<?> propertySource)
Add the given property source object with precedence immediately higher
than the named relative property source.
|
void |
MutablePropertySources.addFirst(PropertySource<?> propertySource)
Add the given property source object with highest precedence.
|
void |
MutablePropertySources.addLast(PropertySource<?> propertySource)
Add the given property source object with lowest precedence.
|
protected void |
MutablePropertySources.assertLegalRelativeAddition(String relativePropertySourceName,
PropertySource<?> propertySource)
Ensure that the given property source is not being added relative to itself.
|
protected void |
PropertySourcesPropertyResolver.logKeyFound(String key,
PropertySource<?> propertySource,
Object value)
Log the given key as found in the given
PropertySource, resulting in
the given value. |
int |
MutablePropertySources.precedenceOf(PropertySource<?> propertySource)
Return the precedence of the given property source,
-1 if not found. |
protected void |
MutablePropertySources.removeIfPresent(PropertySource<?> propertySource)
Remove the given property source if it is present.
|
void |
MutablePropertySources.replace(String name,
PropertySource<?> propertySource)
Replace the property source with the given name with the given property source object.
|
Copyright © 2021. All rights reserved.