| Modifier and Type | Method and Description |
|---|---|
Property<T> |
PropertyValue.getProperty() |
| 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) |
GroupProxy |
AndHow.getGroupForProperty(Property<?> 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 PropertyValue from the list of fixed values.
|
| 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> |
StaticPropertyConfiguration.getAliases(Property<?> property)
Returns all aliases (in and out) for a property.
|
String |
StaticPropertyConfiguration.getCanonicalName(Property<?> prop)
Returns the canonical name of a registered 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.
|
GroupProxy |
StaticPropertyConfiguration.getGroupForProperty(Property<?> prop)
Finds the Group containing the specified Property.
|
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)
Returns true if the Property's value was 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(StaticPropertyConfigurationInternal 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.
|
ValidatedValue(Property<T> prop,
T value,
ProblemList<ValueProblem> inIssues)
Construct w/ a known set of problems.
|
| Modifier and Type | Method and Description |
|---|---|
<T> void |
SysPropExporter.doExport(String name,
Property<T> property,
StaticPropertyConfigurationInternal definition,
ValidatedValues values) |
abstract <T> void |
BaseExporter.doExport(String name,
Property<T> property,
StaticPropertyConfigurationInternal definition,
ValidatedValues values)
Subclasses can implement just this method.
|
void |
BaseExporter.export(Property<?> property,
StaticPropertyConfigurationInternal definition,
ValidatedValues values) |
protected boolean |
BaseExporter.hasOutAlias(Property<?> property,
StaticPropertyConfigurationInternal definition) |
| Modifier and Type | Field and Description |
|---|---|
Property<?> |
NameAndProperty.property |
| Modifier and Type | Field and Description |
|---|---|
static List<Property<?>> |
StaticPropertyConfigurationInternal.EMPTY_PROPERTY_LIST |
| Modifier and Type | Method and Description |
|---|---|
Property<?> |
PropertyCoord.getProperty()
The property, if that can be determined.
|
Property |
ConstructionProblem.LoaderPropertyNotRegistered.getProperty() |
Property<?> |
StaticPropertyConfigurationMutable.getProperty(String classpathStyleName) |
Property<?> |
StaticPropertyConfigurationInternal.getProperty(String classpathStyleName)
Finds a registered property by any recognized classpath style name,
including the canonical name or 'in' aliases.
|
Property<?> |
StaticPropertyConfigurationImmutable.getProperty(String classpathStyleName) |
Property<?> |
AndHowCore.getProperty(String name) |
| Modifier and Type | Method and Description |
|---|---|
List<Property<?>> |
StaticPropertyConfigurationMutable.getProperties() |
List<Property<?>> |
StaticPropertyConfigurationInternal.getProperties()
Returns a complete list of all registered properties.
|
List<Property<?>> |
StaticPropertyConfigurationImmutable.getProperties() |
List<Property<?>> |
AndHowCore.getProperties() |
List<Property<?>> |
StaticPropertyConfigurationMutable.getPropertiesForGroup(GroupProxy group) |
List<Property<?>> |
StaticPropertyConfigurationInternal.getPropertiesForGroup(GroupProxy group)
Returns a list of Properties registered in the passed group.
|
List<Property<?>> |
StaticPropertyConfigurationImmutable.getPropertiesForGroup(GroupProxy group) |
List<Property<?>> |
AndHowCore.getPropertiesForGroup(GroupProxy group) |
| Modifier and Type | Method and Description |
|---|---|
ConstructionProblem |
StaticPropertyConfigurationMutable.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 |
StaticPropertyConfigurationMutable.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> |
StaticPropertyConfigurationMutable.getAliases(Property<?> property) |
List<EffectiveName> |
StaticPropertyConfigurationImmutable.getAliases(Property<?> property) |
List<EffectiveName> |
AndHowCore.getAliases(Property<?> property) |
String |
StaticPropertyConfigurationMutable.getCanonicalName(Property<?> prop) |
String |
StaticPropertyConfigurationImmutable.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) |
GroupProxy |
StaticPropertyConfigurationMutable.getGroupForProperty(Property<?> prop) |
GroupProxy |
StaticPropertyConfigurationImmutable.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) |
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 |
|---|
StaticPropertyConfigurationImmutable(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) |
StaticPropertyConfigurationImmutable(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) |
StaticPropertyConfigurationImmutable(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) |
StaticPropertyConfigurationImmutable(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) |
StaticPropertyConfigurationImmutable(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 | Field and Description |
|---|---|
protected Property<String> |
PropFileBaseLoader.pathProp
Property containing the path of a property file.
|
| Modifier and Type | Method and Description |
|---|---|
List<Property> |
PropFileBaseLoader.getInstanceConfig() |
List<Property> |
BaseLoader.getInstanceConfig() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
BaseLoader.attemptToAdd(StaticPropertyConfigurationInternal 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(StaticPropertyConfigurationInternal appConfigDef,
Property<T> prop,
String untrimmedString) |
void |
PropFileBaseLoader.setFilePath(Property<String> path) |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
StdJndiLoader.buildJndiNames(StaticPropertyConfigurationInternal 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 |
|---|---|
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 |
BolProp
A True/False value that can be null, just like a Java Boolean Object.
|
class |
DblProp
A Property that refers to a Double value.
|
class |
FlagProp
A True/False switch that is never null and behaves similarly to a unix cmd line switch.
|
class |
IntProp
A Property that refers to an Integer value.
|
class |
LngProp
A Property that refers to a Long value.
|
class |
LocalDateTimeProp
A Property that refers to a Long value.
|
class |
PropertyBase<T>
Base property implementation that handles most of state information and common methods.
|
class |
StrProp
A Property that refers to a String value.
|
| Modifier and Type | Method and Description |
|---|---|
TextBlock |
PropFileLoaderSamplePrinter.getActualProperty(StaticPropertyConfigurationInternal definition,
GroupProxy group,
Property prop) |
TextBlock |
JndiLoaderSamplePrinter.getActualProperty(StaticPropertyConfigurationInternal definition,
GroupProxy group,
Property prop) |
abstract TextBlock |
BaseSamplePrinter.getActualProperty(StaticPropertyConfigurationInternal definition,
GroupProxy group,
Property prop) |
void |
BaseSamplePrinter.printProperty(StaticPropertyConfigurationInternal 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 © 2017. All rights reserved.