| Modifier and Type | Class and Description |
|---|---|
class |
AndHow |
| Modifier and Type | Method and Description |
|---|---|
void |
Exporter.export(Class<? extends BasePropertyGroup> group,
ConstructionDefinition definition,
ValueMap values)
Exports a BasePropertyGroup.
|
void |
Exporter.export(ConstructionDefinition definition,
ValueMap values)
Exports all properties.
|
LoaderValues |
Loader.load(ConstructionDefinition runtimeDef,
ValueMapWithContext existingValues)
Builds up a list of LoaderValues by loading property values from a configuration
source.
|
void |
SamplePrinter.printProperty(ConstructionDefinition definition,
PrintStream out,
Class<? extends BasePropertyGroup> group,
Property<?> prop) |
void |
SamplePrinter.printPropertyGroupEnd(ConstructionDefinition definition,
PrintStream out,
Class<? extends BasePropertyGroup> group) |
void |
SamplePrinter.printPropertyGroupStart(ConstructionDefinition definition,
PrintStream out,
Class<? extends BasePropertyGroup> group) |
void |
SamplePrinter.printSampleEnd(ConstructionDefinition definition,
PrintStream out) |
void |
SamplePrinter.printSampleStart(ConstructionDefinition definition,
PrintStream out) |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
SysPropExporter.doExport(String name,
Property<T> property,
ConstructionDefinition definition,
ValueMap values) |
abstract <T> void |
BaseExporter.doExport(String name,
Property<T> property,
ConstructionDefinition definition,
ValueMap values)
Subclasses can implement just this method.
|
void |
BaseExporter.export(Class<? extends BasePropertyGroup> group,
ConstructionDefinition definition,
ValueMap values) |
void |
BaseExporter.export(ConstructionDefinition definition,
ValueMap values) |
void |
BaseExporter.export(Property<?> property,
ConstructionDefinition definition,
ValueMap values) |
protected boolean |
BaseExporter.hasOutAlias(Property<?> property,
ConstructionDefinition definition) |
| Modifier and Type | Class and Description |
|---|---|
class |
AndHowCore
Actual central instance of the AndHow state after a successful startup.
|
class |
ConstructionDefinitionImmutable
An immutable instance that can be used during runtime.
|
class |
ConstructionDefinitionMutable
A mutable version that can be used during AndHow startup.
|
| Modifier and Type | Method and Description |
|---|---|
ConstructionDefinition |
ConstructionDefinitionMutable.toImmutable()
Return an immutable instance.
|
| 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.
|
static void |
ReportGenerator.printConstructionProblems(PrintStream out,
List<ConstructionProblem> probs,
ConstructionDefinition appDef) |
static void |
ReportGenerator.printLoaderProblems(PrintStream out,
List<LoaderProblem> probs,
ConstructionDefinition appDef) |
static void |
ReportGenerator.printProblems(PrintStream out,
AppFatalException fatalException,
ConstructionDefinition appDef) |
static void |
ReportGenerator.printRequirementProblems(PrintStream out,
List<RequirementProblem> probs,
ConstructionDefinition appDef) |
static void |
ReportGenerator.printValueProblems(PrintStream out,
List<ValueProblem> probs,
ConstructionDefinition appDef) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
BaseLoader.attemptToAdd(ConstructionDefinition appConfigDef,
List<PropertyValue> 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(ConstructionDefinition appConfigDef,
List<PropertyValue> values,
ProblemList<Problem> loaderProblems,
String key,
String strValue)
Util method to load a String to a property by name.
|
protected <T> PropertyValue |
BaseLoader.createValue(ConstructionDefinition appConfigDef,
Property<T> prop,
String untrimmedString) |
LoaderValues |
SystemPropertyLoader.load(ConstructionDefinition appConfigDef,
ValueMapWithContext existingValues) |
LoaderValues |
StringArgumentLoader.load(ConstructionDefinition appConfigDef,
ValueMapWithContext existingValues) |
LoaderValues |
PropertyFileOnFilesystemLoader.load(ConstructionDefinition appConfigDef,
ValueMapWithContext existingValues) |
LoaderValues |
PropertyFileOnClasspathLoader.load(ConstructionDefinition appConfigDef,
ValueMapWithContext existingValues) |
LoaderValues |
JndiLoader.load(ConstructionDefinition appConfigDef,
ValueMapWithContext existingValues) |
LoaderValues |
FixedValueLoader.load(ConstructionDefinition appConfigDef,
ValueMapWithContext existingValues) |
LoaderValues |
EnviromentVariableLoader.load(ConstructionDefinition appConfigDef,
ValueMapWithContext existingValues) |
LoaderValues |
PropertyFileOnFilesystemLoader.load(ConstructionDefinition appConfigDef,
ValueMapWithContext existingValues,
String path)
Load from a non-null filesystem path.
|
LoaderValues |
PropertyFileOnClasspathLoader.load(ConstructionDefinition appConfigDef,
ValueMapWithContext existingValues,
String path)
Load from a non-null classpath path.
|
LoaderValues |
PropertyFileBaseLoader.loadInputStreamToProps(InputStream inputStream,
String fromPath,
ConstructionDefinition appConfigDef,
ValueMapWithContext existingValues) |
Copyright © 2017. All rights reserved.