| Package | Description |
|---|---|
| org.yarnandtail.andhow | |
| org.yarnandtail.andhow.api | |
| org.yarnandtail.andhow.internal | |
| org.yarnandtail.andhow.load | |
| org.yarnandtail.andhow.load.std | |
| org.yarnandtail.andhow.util |
| Modifier and Type | Field and Description |
|---|---|
protected Map<Class<? extends StandardLoader>,List<Loader>> |
BaseConfig.insertAfter |
protected Map<Class<? extends StandardLoader>,List<Loader>> |
BaseConfig.insertBefore |
| Modifier and Type | Method and Description |
|---|---|
List<Loader> |
AndHowConfiguration.buildLoaders() |
List<Loader> |
BaseConfig.buildLoaders() |
| Modifier and Type | Method and Description |
|---|---|
C |
AndHowConfiguration.insertLoaderAfter(Class<? extends StandardLoader> insertAfterThisLoader,
Loader loaderToInsert) |
S |
StdConfig.StdConfigAbstract.insertLoaderAfter(Class<? extends StandardLoader> insertAfterThisLoader,
Loader loaderToInsert) |
C |
AndHowConfiguration.insertLoaderBefore(Class<? extends StandardLoader> insertBeforeThisLoader,
Loader loaderToInsert) |
S |
StdConfig.StdConfigAbstract.insertLoaderBefore(Class<? extends StandardLoader> insertBeforeThisLoader,
Loader loaderToInsert) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ReadLoader
A Read Loader is a loader that reads properties from a resource for which it
is possible to enumerate all values.
|
interface |
StandardLoader
Marker interface that indicates direct support and automatic construction for
a Loader.
|
| Modifier and Type | Method and Description |
|---|---|
Loader |
LoaderValues.getLoader() |
| Modifier and Type | Method and Description |
|---|---|
LoaderValues |
ValidatedValuesWithContext.getAllValuesLoadedByLoader(Loader loader)
All the values loaded by the specified Loader, even if they were overridden
by earlier loaders.
|
LoaderValues |
ValidatedValuesWithContext.getEffectiveValuesLoadedByLoader(Loader loader)
The list of Properties and values loaded by the specified loader that
were not overridden by earlier Loaders.
|
| Constructor and Description |
|---|
LoaderValues(Loader loader)
A constructor when there is no problem, but there were no values loaded.
|
LoaderValues(Loader loader,
List<ValidatedValue> inValues,
ProblemList<Problem> problems) |
LoaderValues(Loader loader,
Problem problem)
A constructor when there is just a problem to report.
|
| Modifier and Type | Method and Description |
|---|---|
Loader |
LoaderValueCoord.getLoader()
The loader attempting to load this property, if that can be determined.
|
Loader |
ConstructionProblem.DuplicateLoader.getLoader() |
Loader |
ConstructionProblem.LoaderPropertyIsNull.getLoader() |
Loader |
ConstructionProblem.LoaderPropertyNotRegistered.getLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected LoaderValues |
ValidatedValuesWithContextBase.getAllValuesLoadedByLoader(List<LoaderValues> valuesList,
Loader loader) |
LoaderValues |
ValidatedValuesWithContextMutable.getAllValuesLoadedByLoader(Loader loader) |
LoaderValues |
ValidatedValuesWithContextImmutable.getAllValuesLoadedByLoader(Loader loader) |
LoaderValues |
ValidatedValuesWithContextBase.getEffectiveValuesLoadedByLoader(List<LoaderValues> valuesList,
Loader loader) |
LoaderValues |
ValidatedValuesWithContextMutable.getEffectiveValuesLoadedByLoader(Loader loader) |
LoaderValues |
ValidatedValuesWithContextImmutable.getEffectiveValuesLoadedByLoader(Loader loader) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ReportGenerator.printConfigSamples(PropertyConfigurationInternal appDef,
File sampleDir,
List<Loader> loaders,
boolean isDueToErrors)
Print configurations samples for Loaders that support it.
|
static File |
ReportGenerator.printConfigSamples(PropertyConfigurationInternal appDef,
List<Loader> loaders,
boolean isDueToErrors)
Writes sample configuration files for all Loaders that support it.
|
| Constructor and Description |
|---|
DuplicateLoader(Loader loader) |
DuplicatePropertyLoaderProblem(Loader loader,
Class<?> group,
Property prop) |
InvalidValueProblem(Loader loader,
Class<?> group,
Property<T> prop,
T value,
Validator<T> validator) |
IOLoaderProblem(Loader loader,
Exception exception,
String resourcePath) |
JndiContextLoaderProblem(Loader loader) |
LoaderPropertyIsNull(Loader loader) |
LoaderPropertyNotRegistered(Loader loader,
Property property) |
LoaderValueCoord(Loader loader,
Class<?> group,
Property<?> prop) |
ObjectConversionValueProblem(Loader loader,
Class<?> group,
Property prop,
Object obj) |
ParsingLoaderProblem(Loader loader,
Class<?> group,
Property prop,
Exception exception) |
SourceNotFoundLoaderProblem(Loader loader,
String message) |
StringConversionLoaderProblem(Loader loader,
Class<?> group,
Property prop,
String str) |
UnknownPropertyLoaderProblem(Loader loader,
String unknownPropName) |
| Constructor and Description |
|---|
AndHowCore(NamingStrategy naming,
List<Loader> loaders,
List<GroupProxy> registeredGroups) |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseLoader |
class |
FixedValueLoader
A utility loader that is used internally to put fixed values into the effective
list of configured values.
|
class |
KeyValuePairLoader
Intended to reads properties from the command line, but could be used for
other sources where properties can be passed as an array of strings, each
of the form name=value.
|
class |
MapLoader
Loads values from a map.
|
class |
PropFileBaseLoader
Shared functionality for all Property file loaders.
|
class |
PropFileOnClasspathLoader
Reads from a Java .properties file on the classpath, following standard java
conventions for the structure of those key:value pair files.
|
class |
PropFileOnFilesystemLoader
Reads from a Java .property file from the filesystem, following standard java
conventions for the structure of those file.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StdEnvVarLoader
Reads the operating system defined environment variables and loads the value
for any environmental variable who's name matches a Property.
|
class |
StdFixedValueLoader
Sets values directly in code.
|
class |
StdJndiLoader
Attempts to look up the name of each known
Property in the JNDI
environment and loads the value for any that are found. |
class |
StdMainStringArgsLoader
Reads an array of Strings containing key value pairs in the form key=value,
and loads the value for any key that matches a Property.
|
class |
StdPropFileOnClasspathLoader
Parses and loads Properties from a Java
.property file on the
classpath. |
class |
StdPropFileOnFilesystemLoader
Parses and loads Properties from a Java
.property file on the
file system. |
class |
StdSysPropLoader
Reads the Java system properties and loads the value for any system property
who's name matches a Property.
|
| Modifier and Type | Method and Description |
|---|---|
static PropertyConfigurationMutable |
AndHowUtil.buildDefinition(List<GroupProxy> groups,
List<Loader> loaders,
NamingStrategy naming,
ProblemList<Problem> problems)
Build a fully populated ConstructionDefinition from the passed Groups,
using the NamingStrategy to generate names for each.
|
Copyright © 2021. All rights reserved.