| Package | Description |
|---|---|
| org.yarnandtail.andhow | |
| org.yarnandtail.andhow.api | |
| org.yarnandtail.andhow.internal | |
| org.yarnandtail.andhow.load | |
| org.yarnandtail.andhow.util |
| Modifier and Type | Method and Description |
|---|---|
AndHow.AndHowBuilder |
AndHow.AndHowBuilder.loader(Loader loader)
Add a loader to the list of loaders.
|
| Modifier and Type | Method and Description |
|---|---|
AndHow.AndHowBuilder |
AndHow.AndHowBuilder.loaders(Collection<Loader> loaders)
Add a list of loaders to the list being built.
|
void |
AndHow.Reloader.reload(NamingStrategy naming,
List<Loader> loaders,
List<Class<? extends BasePropertyGroup>> registeredGroups)
Forces a reload of the AndHow state.
|
| Modifier and Type | Method and Description |
|---|---|
Loader |
LoaderValues.getLoader() |
| Modifier and Type | Method and Description |
|---|---|
LoaderValues |
ValueMapWithContext.getAllValuesLoadedByLoader(Loader loader)
All the values loaded by the specified Loader, even if they were overridden
by earlier loaders.
|
LoaderValues |
ValueMapWithContext.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<PropertyValue> 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.LoaderPropertyNotRegistered.getLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected LoaderValues |
ValueMapWithContextBase.getAllValuesLoadedByLoader(List<LoaderValues> valuesList,
Loader loader) |
LoaderValues |
ValueMapWithContextMutable.getAllValuesLoadedByLoader(Loader loader) |
LoaderValues |
ValueMapWithContextImmutable.getAllValuesLoadedByLoader(Loader loader) |
LoaderValues |
ValueMapWithContextBase.getEffectiveValuesLoadedByLoader(List<LoaderValues> valuesList,
Loader loader) |
LoaderValues |
ValueMapWithContextMutable.getEffectiveValuesLoadedByLoader(Loader loader) |
LoaderValues |
ValueMapWithContextImmutable.getEffectiveValuesLoadedByLoader(Loader loader) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ReportGenerator.printConfigSamples(ConstructionDefinition appDef,
PrintStream out,
List<Loader> loaders,
boolean isDueToErrors)
Print configurations samples for Loaders that support it.
|
| Constructor and Description |
|---|
AndHowCore(NamingStrategy naming,
List<Loader> loaders,
List<Class<? extends BasePropertyGroup>> registeredGroups) |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseLoader |
class |
EnviromentVariableLoader
Loads properties from java.lang.System.getenv().
|
class |
FixedValueLoader
A utility loader that is used internally to put fixed values into the effective
list of values.
|
class |
JndiLoader
Loads values from a JNDI context.
|
class |
PropertyFileBaseLoader
Shared functionality for all Property file loaders.
|
class |
PropertyFileOnClasspathLoader
Reads from a Java .property file on the classpath, following standard java conventions
for the structure of those file.
|
class |
PropertyFileOnFilesystemLoader
Reads from a Java .property file from the filesystem, following standard java conventions
for the structure of those file.
|
class |
StringArgumentLoader
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 |
SystemPropertyLoader
Loads properties from java.lang.System.getProperties().
|
| Modifier and Type | Method and Description |
|---|---|
static ConstructionDefinitionMutable |
AndHowUtil.buildDefinition(List<Class<? extends BasePropertyGroup>> 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.