| 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> |
BaseConfig.buildLoaders() |
List<Loader> |
AndHowConfiguration.buildLoaders() |
| Modifier and Type | Method and Description |
|---|---|
S |
StdConfig.StdConfigAbstract.insertLoaderAfter(Class<? extends StandardLoader> insertAfterThisLoader,
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(StaticPropertyConfiguration appDef,
File sampleDir,
List<Loader> loaders,
boolean isDueToErrors)
Print configurations samples for Loaders that support it.
|
static File |
ReportGenerator.printConfigSamples(StaticPropertyConfiguration 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 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 .property file on the classpath, following standard java
conventions for the structure of those file.
|
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
Loads properties from java.lang.System.getenv().
|
class |
StdFixedValueLoader |
class |
StdJndiLoader
Loads values from a JNDI context.
|
class |
StdMainStringArgsLoader
Identical to the KeyValuePairLoader, but provides a way to find
the cmd line arg loader in a list of loaders.
|
class |
StdPropFileOnClasspathLoader
Same functionality as the PropFileOnClasspathLoader, but with a default
path and a separate name to track it separately as a framework provided standard loader.
|
class |
StdPropFileOnFilesystemLoader
Same functionality as the PropFileOnFilesystemLoader, but uses a separate
name to track it separately as a framework provided standard loader.
|
class |
StdSysPropLoader
Loads properties from java.lang.System.getProperties().
|
| Modifier and Type | Method and Description |
|---|---|
static StaticPropertyConfigurationMutable |
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 © 2017. All rights reserved.