public class ValueMapWithContextMutable extends ValueMapWithContextBase
| Constructor and Description |
|---|
ValueMapWithContextMutable() |
| Modifier and Type | Method and Description |
|---|---|
void |
addValues(LoaderValues values) |
List<LoaderValues> |
getAllLoaderValues()
A sequential list of all loaders and all its values, even overwritten ones.
|
LoaderValues |
getAllValuesLoadedByLoader(Loader loader)
All the values loaded by the specified Loader, even if they were overridden
by earlier loaders.
|
<T> T |
getEffectiveValue(Property<T> prop)
The explicitly value, or if that is null, the default (which may also be null).
|
LoaderValues |
getEffectiveValuesLoadedByLoader(Loader loader)
The list of Properties and values loaded by the specified loader that
were not overridden by earlier Loaders.
|
<T> T |
getExplicitValue(Property<T> prop)
Get a value explicitly configured.
|
ValueMap |
getValueMapImmutable()
Unmodifiable minimum data for Properties to retrieve their data from.
|
ValueMapWithContext |
getValueMapWithContextImmutable()
Unmodifiable minimum data collection to store the structure of how data
was loaded.
|
boolean |
hasProblems()
Returns true if any value or loader has any sort of issue (invalid value,
parsing error, etc).
|
boolean |
isExplicitlySet(Property<?> prop)
Returns true if the Property's value was explicitly set via one of the loaders.
|
buildValueMapImmutable, getAllValuesLoadedByLoader, getEffectiveValue, getEffectiveValuesLoadedByLoader, getValue, isPropertyPresentpublic void addValues(LoaderValues values)
public ValueMapWithContext getValueMapWithContextImmutable()
ValueMapWithContextpublic <T> T getExplicitValue(Property<T> prop)
ValueMapT - prop The property to get the value forpublic <T> T getEffectiveValue(Property<T> prop)
ValueMapprop - The property to get the value for.public boolean isExplicitlySet(Property<?> prop)
ValueMapprop - The property to checkpublic List<LoaderValues> getAllLoaderValues()
ValueMapWithContextpublic LoaderValues getAllValuesLoadedByLoader(Loader loader)
ValueMapWithContextpublic LoaderValues getEffectiveValuesLoadedByLoader(Loader loader)
ValueMapWithContextpublic ValueMap getValueMapImmutable()
ValueMapWithContextpublic boolean hasProblems()
ValueMapWithContextCopyright © 2017. All rights reserved.