public class ValidatedValuesWithContextMutable extends ValidatedValuesWithContextBase
| Constructor and Description |
|---|
ValidatedValuesWithContextMutable() |
| 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.
|
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)
The value found and loaded for this value by a Loader.
|
<T> T |
getValue(Property<T> prop)
The effective value, similar to Property.getValue, but specifically for
the context of this ValueMap.
|
ValidatedValues |
getValueMapImmutable()
Unmodifiable minimum data for Properties to retrieve their data from.
|
ValidatedValuesWithContext |
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 to a non-null value
via one of the loaders.
|
buildValueMapImmutable, getAllValuesLoadedByLoader, getEffectiveValue, getEffectiveValuesLoadedByLoader, getExplicitValue, isPropertyPresentpublic void addValues(LoaderValues values)
public ValidatedValuesWithContext getValueMapWithContextImmutable()
ValidatedValuesWithContextpublic <T> T getExplicitValue(Property<T> prop)
ValidatedValuesT - The return type of the Property.prop - The property to get the value forpublic <T> T getValue(Property<T> prop)
ValidatedValuesT - The return type of the Property.prop - The property to get the value for.public boolean isExplicitlySet(Property<?> prop)
ValidatedValuesprop - The property to checkpublic List<LoaderValues> getAllLoaderValues()
ValidatedValuesWithContextpublic LoaderValues getAllValuesLoadedByLoader(Loader loader)
ValidatedValuesWithContextpublic LoaderValues getEffectiveValuesLoadedByLoader(Loader loader)
ValidatedValuesWithContextpublic ValidatedValues getValueMapImmutable()
ValidatedValuesWithContextpublic boolean hasProblems()
ValidatedValuesWithContextCopyright © 2017. All rights reserved.