| Modifier and Type | Method and Description |
|---|---|
<T> void |
SysPropExporter.doExport(String name,
Property<T> property,
PropertyConfigurationInternal definition,
ValidatedValues values) |
abstract <T> void |
BaseExporter.doExport(String name,
Property<T> property,
PropertyConfigurationInternal definition,
ValidatedValues values)
Subclasses can implement just this method.
|
void |
BaseExporter.export(GroupProxy group,
PropertyConfigurationInternal definition,
ValidatedValues values) |
void |
BaseExporter.export(Property<?> property,
PropertyConfigurationInternal definition,
ValidatedValues values) |
protected boolean |
BaseExporter.hasOutAlias(Property<?> property,
PropertyConfigurationInternal definition) |
| Modifier and Type | Class and Description |
|---|---|
class |
AndHowCore
Actual central instance of AndHow's state after a successful initialization.
|
class |
PropertyConfigurationImmutable
An immutable instance that can be used during runtime.
|
class |
PropertyConfigurationMutable
A mutable version that can be used during AndHow startup.
|
| Modifier and Type | Method and Description |
|---|---|
PropertyConfigurationInternal |
PropertyConfigurationMutable.toImmutable()
Return an immutable instance.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
AndHowCore.checkForValuesWhichMustBeNonNull(PropertyConfigurationInternal config,
ValidatedValues values,
ProblemList<Problem> problems)
Adds a NonNullPropertyProblem for each null valued Property that is required to be non-null.
|
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.
|
static void |
ReportGenerator.printConstructionProblems(PrintStream out,
List<ConstructionProblem> probs,
PropertyConfigurationInternal appDef) |
static void |
ReportGenerator.printLoaderProblems(PrintStream out,
List<LoaderProblem> probs,
PropertyConfigurationInternal appDef) |
static void |
ReportGenerator.printProblems(PrintStream out,
AppFatalException fatalException,
PropertyConfigurationInternal appDef) |
static void |
ReportGenerator.printRequirementProblems(PrintStream out,
List<RequirementProblem> probs,
PropertyConfigurationInternal appDef) |
static void |
ReportGenerator.printSingleLoader(PropertyConfigurationInternal appDef,
PrintStream out,
SamplePrinter printer) |
static void |
ReportGenerator.printValueProblems(PrintStream out,
List<ValueProblem> probs,
PropertyConfigurationInternal appDef) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
BaseLoader.attemptToAdd(PropertyConfigurationInternal 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(PropertyConfigurationInternal appConfigDef,
List<ValidatedValue> values,
ProblemList<Problem> loaderProblems,
String key,
Object value)
Util method to load an Object value to a named Property.
|
protected void |
BaseLoader.attemptToAdd(PropertyConfigurationInternal appConfigDef,
List<ValidatedValue> values,
ProblemList<Problem> loaderProblems,
String key,
String strValue)
Util method to load a String to a property by name.
|
protected void |
BaseLoader.attemptToAddIfNotDuplicate(PropertyConfigurationInternal appConfigDef,
List<ValidatedValue> values,
ProblemList<Problem> loaderProblems,
ValidatedValue validatedValue)
Adds the ValidatedValue to the VV list if it is not a duplicate.
|
LoaderValues |
BaseKeyValuePairLoader.load(PropertyConfigurationInternal runtimeDef,
List<String> keyValuePairs,
String delimiter)
Load from the passed list of keyValuePairs using the passed delimiter.
|
LoaderValues |
PropFileOnFilesystemLoader.load(PropertyConfigurationInternal appConfigDef,
LoaderEnvironment environment,
ValidatedValuesWithContext existingValues) |
LoaderValues |
PropFileOnClasspathLoader.load(PropertyConfigurationInternal appConfigDef,
LoaderEnvironment environment,
ValidatedValuesWithContext existingValues) |
LoaderValues |
MapLoader.load(PropertyConfigurationInternal runtimeDef,
LoaderEnvironment environment,
ValidatedValuesWithContext existingValues) |
LoaderValues |
BaseFixedValueLoader.load(PropertyConfigurationInternal runtimeDef,
Map<String,Object> fixedNamedValues,
List<PropertyValue<?>> fixedPropertyValues)
Load from the passed collections of property values.
|
LoaderValues |
BaseMapLoader.load(PropertyConfigurationInternal appConfigDef,
ValidatedValuesWithContext existingValues,
Map<String,String> nameValueMap) |
LoaderValues |
PropFileOnFilesystemLoader.load(PropertyConfigurationInternal appConfigDef,
ValidatedValuesWithContext existingValues,
String path) |
LoaderValues |
PropFileOnClasspathLoader.load(PropertyConfigurationInternal appConfigDef,
ValidatedValuesWithContext existingValues,
String path)
Load from a non-null classpathProp path.
|
LoaderValues |
PropFileBaseLoader.loadInputStreamToProps(InputStream inputStream,
String fromPath,
PropertyConfigurationInternal appConfigDef,
ValidatedValuesWithContext existingValues) |
protected Property |
BaseLoader.mapNametoProperty(PropertyConfigurationInternal appConfigDef,
String name)
Maps the passed Property name or alias to a Property or null if it cannot be found.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
StdJndiLoader.buildJndiNames(PropertyConfigurationInternal appConfigDef,
List<String> roots,
Property prop)
Builds a complete list of complete JNDI names to search for a parameter value.
|
protected LoaderValues |
StdJndiLoader.doLoad(PropertyConfigurationInternal appConfigDef,
Context ctx,
ValidatedValuesWithContext existingValues)
The actual loading, called only when there is a non-null Jndi Context.
|
LoaderValues |
StdSysPropLoader.load(PropertyConfigurationInternal runtimeDef,
LoaderEnvironment environment,
ValidatedValuesWithContext existingValues) |
LoaderValues |
StdMainStringArgsLoader.load(PropertyConfigurationInternal runtimeDef,
LoaderEnvironment environment,
ValidatedValuesWithContext existingValues) |
LoaderValues |
StdJndiLoader.load(PropertyConfigurationInternal appConfigDef,
LoaderEnvironment environment,
ValidatedValuesWithContext existingValues) |
LoaderValues |
StdFixedValueLoader.load(PropertyConfigurationInternal runtimeDef,
LoaderEnvironment environment,
ValidatedValuesWithContext existingValues) |
LoaderValues |
StdEnvVarLoader.load(PropertyConfigurationInternal runtimeDef,
LoaderEnvironment environment,
ValidatedValuesWithContext existingValues) |
Copyright © 2022. All rights reserved.