| Modifier and Type | Method and Description |
|---|---|
Property<T> |
PropertyValue.getProperty()
Fetch the Property of this Property/Value pair.
|
| Modifier and Type | Method and Description |
|---|---|
<T> S |
StdConfig.StdConfigAbstract.addFixedValue(Property<T> property,
T value) |
<T> C |
AndHowConfiguration.addFixedValue(Property<T> property,
T value)
Sets a fixed, non-configurable value for a Property.
|
List<EffectiveName> |
AndHow.getAliases(Property<?> property) |
String |
AndHow.getCanonicalName(Property<?> prop) |
<T> T |
AndHow.getExplicitValue(Property<T> prop) |
<T> T |
AndHow.getValue(Property<T> prop) |
boolean |
AndHow.isExplicitlySet(Property<?> prop) |
S |
StdConfig.StdConfigAbstract.removeFixedValue(Property<?> property) |
C |
AndHowConfiguration.removeFixedValue(Property<?> property)
Removes a Property value set only via addFixedValue(Property
|
| Constructor and Description |
|---|
PropertyValue(Property<T> prop,
T value)
New instance
|
| Modifier and Type | Method and Description |
|---|---|
Property<T> |
ValidatedValue.getProperty() |
| Modifier and Type | Method and Description |
|---|---|
List<Property> |
Loader.getInstanceConfig()
A list of properties that the user has specified as being configuration
properties for this Loader.
|
| Modifier and Type | Method and Description |
|---|---|
PropertyNaming |
NamingStrategy.buildNames(Property prop,
GroupProxy containingGroup)
Build a list of names for the Property
|
List<EffectiveName> |
PropertyConfiguration.getAliases(Property<?> property)
All the effective 'in' & 'out' aliases for this property, not including the canonical name.
|
String |
PropertyConfiguration.getCanonicalName(Property<?> prop)
The canonical name of a
Property. |
String |
GroupProxyBase.getCanonicalName(Property<?> memberProperty) |
String |
GroupProxy.getCanonicalName(Property<?> memberProperty)
The complete canonical name of a Property in this Group.
|
<T> T |
ValidatedValues.getExplicitValue(Property<T> prop)
The value found and loaded for this value by a Loader.
|
<T> T |
LoaderValues.getExplicitValue(Property<T> prop)
A linear search for the Property in the values loaded by this loader.
|
String |
GroupProxyBase.getSimpleName(Property<?> memberProperty) |
String |
GroupProxy.getSimpleName(Property<?> memberProperty)
The simple name of a Property in this Group.
|
<T> T |
ValidatedValues.getValue(Property<T> prop)
The effective value, similar to Property.getValue, but specifically for
the context of this ValueMap.
|
<T> T |
LoaderValues.getValue(Property<T> prop) |
boolean |
ValidatedValues.isExplicitlySet(Property<?> prop)
True if the Property's value is explicitly set to a non-null value via one of the loaders.
|
boolean |
LoaderValues.isExplicitlySet(Property<?> prop)
A linear search for the Property in the values loaded by this loader.
|
void |
SamplePrinter.printProperty(PropertyConfigurationInternal definition,
PrintStream out,
GroupProxy group,
Property<?> prop) |
void |
LocalFileLoader.setFilePath(Property<String> path)
Sets the path to the file to be loaded.
|
| Constructor and Description |
|---|
ValidatedValue(Property<T> prop,
T value)
New instance w/o Problems
Problems can be added later.
|
| Modifier and Type | Method and Description |
|---|---|
Property<?> |
PropertyExport.getProperty()
The Property being exported.
|
| 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(Property<?> property,
PropertyConfigurationInternal definition,
ValidatedValues values) |
protected boolean |
BaseExporter.hasOutAlias(Property<?> property,
PropertyConfigurationInternal definition) |
| Modifier and Type | Field and Description |
|---|---|
Property<?> |
NameAndProperty.property |
| Modifier and Type | Field and Description |
|---|---|
static List<Property<?>> |
PropertyConfigurationInternal.EMPTY_PROPERTY_LIST |
| Modifier and Type | Method and Description |
|---|---|
Property<?> |
PropertyCoord.getProperty()
The property, if that can be determined.
|
Property |
ConstructionProblem.LoaderPropertyNotRegistered.getProperty() |
Property<?> |
AndHowIllegalStateException.UnrecognizedPropertyException.getProperty() |
Property<?> |
PropertyConfigurationMutable.getProperty(String classpathStyleName) |
Property<?> |
PropertyConfigurationInternal.getProperty(String classpathStyleName)
Finds a registered property by any recognized classpath style name,
including the canonical name or 'in' aliases.
|
Property<?> |
PropertyConfigurationImmutable.getProperty(String classpathStyleName) |
Property<?> |
AndHowCore.getProperty(String name) |
| Modifier and Type | Method and Description |
|---|---|
List<Property<?>> |
PropertyConfigurationMutable.getProperties() |
List<Property<?>> |
PropertyConfigurationInternal.getProperties()
Returns a complete list of all registered properties.
|
List<Property<?>> |
PropertyConfigurationImmutable.getProperties() |
List<Property<?>> |
AndHowCore.getProperties() |
List<Property<?>> |
PropertyConfigurationMutable.getPropertiesForGroup(GroupProxy group) |
List<Property<?>> |
PropertyConfigurationInternal.getPropertiesForGroup(GroupProxy group)
Returns a list of Properties registered in the passed group.
|
List<Property<?>> |
PropertyConfigurationImmutable.getPropertiesForGroup(GroupProxy group) |
List<Property<?>> |
AndHowCore.getPropertiesForGroup(GroupProxy group) |
| Modifier and Type | Method and Description |
|---|---|
ConstructionProblem |
PropertyConfigurationMutable.addProperty(GroupProxy group,
Property<?> property)
Adds a Group, its Property and the name and aliases for that property
to all the collections.
|
protected <T> ConstructionProblem.InvalidDefaultValue |
PropertyConfigurationMutable.checkForInvalidDefaultValue(Property<T> property,
GroupProxy group,
String canonName)
Checks a Property's default value against its Validators and adds entries
to constructProblems if there are issues.
|
List<EffectiveName> |
PropertyConfigurationMutable.getAliases(Property<?> property) |
List<EffectiveName> |
PropertyConfigurationImmutable.getAliases(Property<?> property) |
List<EffectiveName> |
AndHowCore.getAliases(Property<?> property) |
String |
PropertyConfigurationMutable.getCanonicalName(Property<?> prop) |
String |
PropertyConfigurationImmutable.getCanonicalName(Property<?> prop) |
String |
AndHowCore.getCanonicalName(Property<?> prop) |
protected <T> T |
ValidatedValuesWithContextBase.getEffectiveValue(List<LoaderValues> valuesList,
Property<T> prop)
Returns the effective value from the values that are loaded so far.
|
protected <T> T |
ValidatedValuesWithContextBase.getExplicitValue(List<LoaderValues> valuesList,
Property<T> prop) |
<T> T |
ValidatedValuesWithContextMutable.getExplicitValue(Property<T> prop) |
<T> T |
ValidatedValuesWithContextImmutable.getExplicitValue(Property<T> prop) |
<T> T |
ValidatedValuesImmutable.getExplicitValue(Property<T> prop) |
<T> T |
AndHowCore.getExplicitValue(Property<T> prop)
The value found and loaded for this value by a Loader.
|
GroupProxy |
PropertyConfigurationMutable.getGroupForProperty(Property<?> prop) |
GroupProxy |
PropertyConfigurationInternal.getGroupForProperty(Property<?> prop)
Finds the Group containing the specified Property.
|
GroupProxy |
PropertyConfigurationImmutable.getGroupForProperty(Property<?> prop) |
GroupProxy |
AndHowCore.getGroupForProperty(Property<?> prop) |
<T> T |
ValidatedValuesWithContextMutable.getValue(Property<T> prop) |
<T> T |
ValidatedValuesWithContextImmutable.getValue(Property<T> prop) |
<T> T |
ValidatedValuesImmutable.getValue(Property<T> prop) |
<T> T |
AndHowCore.getValue(Property<T> prop)
The effective value of the Property.
|
boolean |
ValidatedValuesWithContextMutable.isExplicitlySet(Property<?> prop) |
boolean |
ValidatedValuesWithContextImmutable.isExplicitlySet(Property<?> prop) |
boolean |
ValidatedValuesImmutable.isExplicitlySet(Property<?> prop) |
boolean |
AndHowCore.isExplicitlySet(Property<?> prop) |
protected boolean |
ValidatedValuesWithContextBase.isPropertyPresent(List<LoaderValues> valuesList,
Property<?> prop) |
| Constructor and Description |
|---|
PropertyConfigurationImmutable(NamingStrategy namingStrategy,
List<GroupProxy> groupList,
List<Property<?>> properties,
Map<GroupProxy,List<Property<?>>> propertiesByGroup,
Map<String,Property<?>> propertiesByAnyName,
Map<Property<?>,List<EffectiveName>> aliasesByProperty,
Map<Property<?>,String> canonicalNameByProperty,
List<ExportGroup> exportGroups) |
PropertyConfigurationImmutable(NamingStrategy namingStrategy,
List<GroupProxy> groupList,
List<Property<?>> properties,
Map<GroupProxy,List<Property<?>>> propertiesByGroup,
Map<String,Property<?>> propertiesByAnyName,
Map<Property<?>,List<EffectiveName>> aliasesByProperty,
Map<Property<?>,String> canonicalNameByProperty,
List<ExportGroup> exportGroups) |
PropertyConfigurationImmutable(NamingStrategy namingStrategy,
List<GroupProxy> groupList,
List<Property<?>> properties,
Map<GroupProxy,List<Property<?>>> propertiesByGroup,
Map<String,Property<?>> propertiesByAnyName,
Map<Property<?>,List<EffectiveName>> aliasesByProperty,
Map<Property<?>,String> canonicalNameByProperty,
List<ExportGroup> exportGroups) |
PropertyConfigurationImmutable(NamingStrategy namingStrategy,
List<GroupProxy> groupList,
List<Property<?>> properties,
Map<GroupProxy,List<Property<?>>> propertiesByGroup,
Map<String,Property<?>> propertiesByAnyName,
Map<Property<?>,List<EffectiveName>> aliasesByProperty,
Map<Property<?>,String> canonicalNameByProperty,
List<ExportGroup> exportGroups) |
PropertyConfigurationImmutable(NamingStrategy namingStrategy,
List<GroupProxy> groupList,
List<Property<?>> properties,
Map<GroupProxy,List<Property<?>>> propertiesByGroup,
Map<String,Property<?>> propertiesByAnyName,
Map<Property<?>,List<EffectiveName>> aliasesByProperty,
Map<Property<?>,String> canonicalNameByProperty,
List<ExportGroup> exportGroups) |
ValidatedValuesImmutable(Map<Property<?>,Object> loadedValues) |
| Modifier and Type | Method and Description |
|---|---|
Property<?> |
PropertyExportImpl.getProperty() |
Property<?> |
PropertyExportImpl.PropertyExportWrap.getProperty() |
| Constructor and Description |
|---|
PropertyExportImpl(Property<?> property,
Class<?> containingClass,
Exporter.EXPORT_CANONICAL_NAME canonicalNameOpt,
Exporter.EXPORT_OUT_ALIASES outAliasOpt)
Full state constructor.
|
| Modifier and Type | Field and Description |
|---|---|
protected Property<String> |
PropFileBaseLoader.pathProp
Property containing the path of a property file.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
|---|---|
List<Property> |
PropFileBaseLoader.getInstanceConfig() |
List<Property> |
BaseLoader.getInstanceConfig() |
| 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 <T> ValidatedValue |
BaseLoader.createValue(Property<T> prop,
String untrimmedString)
Central method for parsing Strings into a Property value.
|
void |
PropFileBaseLoader.setFilePath(Property<String> path) |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
<T> void |
LoaderEnvironmentBuilder.addFixedValue(Property<T> property,
T value)
Sets a fixed, non-configurable value for a Property.
|
Object |
LoaderEnvironmentBuilder.removeFixedValue(Property<?> property)
Removes a fixed Property value set only via addFixedValue(Property
LoaderEnvironmentBuilder.setFixedPropertyValues(List). |
| Modifier and Type | Method and Description |
|---|---|
PropertyNaming |
CaseInsensitiveNaming.buildNames(Property prop,
GroupProxy parentGroup) |
PropertyNaming |
CaseInsensitiveNaming.buildNamesFromCanonical(Property prop,
GroupProxy parentGroup,
String canonicalName) |
| Modifier and Type | Class and Description |
|---|---|
class |
PropertyBuilderBase<B extends PropertyBuilderBase,P extends Property<T>,T>
A generic PropertyBuilder class which needs to be fully implemented as an
inner class in each Property implementation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BigDecProp
A
BigDecimal configuration Property |
class |
BolProp
A
Boolean configuration Property |
class |
DblProp
A
BigDecimal configuration Property |
class |
FlagProp
A True/False switch that is never null and behaves similarly to a 'nix
cmd line switch when used on command line.
|
class |
IntProp
An
Integer configuration Property |
class |
LngProp
A
Long configuration Property |
class |
LocalDateTimeProp
A
LocalDateTime configuration Property |
class |
PropertyBase<T>
Base property implementation that handles most of state information and common methods.
|
class |
StrProp
A
String configuration Property |
| Modifier and Type | Method and Description |
|---|---|
TextBlock |
PropFileLoaderSamplePrinter.getActualProperty(PropertyConfigurationInternal definition,
GroupProxy group,
Property prop) |
TextBlock |
JndiLoaderSamplePrinter.getActualProperty(PropertyConfigurationInternal definition,
GroupProxy group,
Property prop) |
abstract TextBlock |
BaseSamplePrinter.getActualProperty(PropertyConfigurationInternal definition,
GroupProxy group,
Property prop) |
void |
BaseSamplePrinter.printProperty(PropertyConfigurationInternal definition,
PrintStream out,
GroupProxy group,
Property<?> prop) |
| Modifier and Type | Method and Description |
|---|---|
static String |
NameUtil.getAndHowName(Class<?> group,
Property<?> property)
Gets the true canonical name for a Property in the group.
|
static String |
AndHowUtil.getFieldName(Class<?> group,
Property<?> property)
Gets the field name for a property in a class, which is just the last
portion of the canonical name.
|
Copyright © 2022. All rights reserved.