| Modifier and Type | Class and Description |
|---|---|
class |
AndHow
Central AndHow singleton class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Exporter.export(GroupProxy group,
StaticPropertyConfiguration definition,
ValidatedValues values)
Exports a Group.
|
void |
Exporter.export(StaticPropertyConfiguration definition,
ValidatedValues values)
Exports all properties.
|
LoaderValues |
Loader.load(StaticPropertyConfiguration runtimeDef,
ValidatedValuesWithContext existingValues)
Builds up a list of LoaderValues by loading property values from a
configuration source.
|
void |
SamplePrinter.printProperty(StaticPropertyConfiguration definition,
PrintStream out,
GroupProxy group,
Property<?> prop) |
void |
SamplePrinter.printPropertyGroupEnd(StaticPropertyConfiguration definition,
PrintStream out,
GroupProxy group) |
void |
SamplePrinter.printPropertyGroupStart(StaticPropertyConfiguration definition,
PrintStream out,
GroupProxy group) |
void |
SamplePrinter.printSampleEnd(StaticPropertyConfiguration definition,
PrintStream out) |
void |
SamplePrinter.printSampleStart(StaticPropertyConfiguration definition,
PrintStream out) |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
SysPropExporter.doExport(String name,
Property<T> property,
StaticPropertyConfiguration definition,
ValidatedValues values) |
abstract <T> void |
BaseExporter.doExport(String name,
Property<T> property,
StaticPropertyConfiguration definition,
ValidatedValues values)
Subclasses can implement just this method.
|
void |
BaseExporter.export(GroupProxy group,
StaticPropertyConfiguration definition,
ValidatedValues values) |
void |
BaseExporter.export(Property<?> property,
StaticPropertyConfiguration definition,
ValidatedValues values) |
void |
BaseExporter.export(StaticPropertyConfiguration definition,
ValidatedValues values) |
protected boolean |
BaseExporter.hasOutAlias(Property<?> property,
StaticPropertyConfiguration definition) |
| Modifier and Type | Class and Description |
|---|---|
class |
AndHowCore
Actual central instance of the AndHow state after a successful startup.
|
class |
StaticPropertyConfigurationImmutable
An immutable instance that can be used during runtime.
|
class |
StaticPropertyConfigurationMutable
A mutable version that can be used during AndHow startup.
|
| Modifier and Type | Method and Description |
|---|---|
StaticPropertyConfiguration |
StaticPropertyConfigurationMutable.toImmutable()
Return an immutable instance.
|
| 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.
|
static void |
ReportGenerator.printConstructionProblems(PrintStream out,
List<ConstructionProblem> probs,
StaticPropertyConfiguration appDef) |
static void |
ReportGenerator.printLoaderProblems(PrintStream out,
List<LoaderProblem> probs,
StaticPropertyConfiguration appDef) |
static void |
ReportGenerator.printProblems(PrintStream out,
AppFatalException fatalException,
StaticPropertyConfiguration appDef) |
static void |
ReportGenerator.printRequirementProblems(PrintStream out,
List<RequirementProblem> probs,
StaticPropertyConfiguration appDef) |
static void |
ReportGenerator.printSingleLoader(StaticPropertyConfiguration appDef,
PrintStream out,
SamplePrinter printer) |
static void |
ReportGenerator.printValueProblems(PrintStream out,
List<ValueProblem> probs,
StaticPropertyConfiguration appDef) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
BaseLoader.attemptToAdd(StaticPropertyConfiguration appConfigDef,
List<ValidatedValue> values,
ProblemList<Problem> loaderProblems,
Property prop,
Object value)
Util method to attempt to load an object of an unknown type to a property.
|
protected void |
BaseLoader.attemptToAdd(StaticPropertyConfiguration appConfigDef,
List<ValidatedValue> values,
ProblemList<Problem> loaderProblems,
String key,
String strValue)
Util method to load a String to a property by name.
|
protected <T> ValidatedValue |
BaseLoader.createValue(StaticPropertyConfiguration appConfigDef,
Property<T> prop,
String untrimmedString) |
LoaderValues |
PropFileOnFilesystemLoader.load(StaticPropertyConfiguration appConfigDef,
ValidatedValuesWithContext existingValues) |
LoaderValues |
PropFileOnClasspathLoader.load(StaticPropertyConfiguration appConfigDef,
ValidatedValuesWithContext existingValues) |
LoaderValues |
MapLoader.load(StaticPropertyConfiguration appConfigDef,
ValidatedValuesWithContext existingValues) |
LoaderValues |
KeyValuePairLoader.load(StaticPropertyConfiguration appConfigDef,
ValidatedValuesWithContext existingValues) |
LoaderValues |
FixedValueLoader.load(StaticPropertyConfiguration appConfigDef,
ValidatedValuesWithContext existingValues) |
LoaderValues |
PropFileOnFilesystemLoader.load(StaticPropertyConfiguration appConfigDef,
ValidatedValuesWithContext existingValues,
String path) |
LoaderValues |
PropFileOnClasspathLoader.load(StaticPropertyConfiguration appConfigDef,
ValidatedValuesWithContext existingValues,
String path)
Load from a non-null classpathProp path.
|
LoaderValues |
PropFileBaseLoader.loadInputStreamToProps(InputStream inputStream,
String fromPath,
StaticPropertyConfiguration appConfigDef,
ValidatedValuesWithContext existingValues) |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
StdJndiLoader.buildJndiNames(StaticPropertyConfiguration appConfigDef,
List<String> roots,
Property prop)
Builds a complete list of complete JNDI names to search for a parameter value.
|
LoaderValues |
StdJndiLoader.load(StaticPropertyConfiguration appConfigDef,
ValidatedValuesWithContext existingValues) |
Copyright © 2017. All rights reserved.