| Modifier and Type | Method and Description |
|---|---|
GroupProxy |
AndHow.getGroupForProperty(Property<?> prop) |
| Modifier and Type | Method and Description |
|---|---|
List<GroupProxy> |
BaseConfig.getRegisteredGroups() |
List<GroupProxy> |
AndHowConfiguration.getRegisteredGroups() |
| Modifier and Type | Class and Description |
|---|---|
class |
GroupProxyBase |
class |
GroupProxyImmutable |
class |
GroupProxyMutable |
| Modifier and Type | Method and Description |
|---|---|
GroupProxy |
ExportGroup.getGroup() |
GroupProxy |
StaticPropertyConfiguration.getGroupForProperty(Property<?> prop)
Finds the Group containing the specified Property.
|
| Modifier and Type | Method and Description |
|---|---|
PropertyNaming |
NamingStrategy.buildNames(Property prop,
GroupProxy containingGroup)
Build a list of names for the Property
|
void |
Exporter.export(GroupProxy group,
StaticPropertyConfigurationInternal definition,
ValidatedValues values)
Exports a Group.
|
void |
SamplePrinter.printProperty(StaticPropertyConfigurationInternal definition,
PrintStream out,
GroupProxy group,
Property<?> prop) |
void |
SamplePrinter.printPropertyGroupEnd(StaticPropertyConfigurationInternal definition,
PrintStream out,
GroupProxy group) |
void |
SamplePrinter.printPropertyGroupStart(StaticPropertyConfigurationInternal definition,
PrintStream out,
GroupProxy group) |
| Constructor and Description |
|---|
ExportGroup(Exporter exporter,
GroupProxy group) |
| Modifier and Type | Method and Description |
|---|---|
void |
BaseExporter.export(GroupProxy group,
StaticPropertyConfigurationInternal definition,
ValidatedValues values) |
| Modifier and Type | Method and Description |
|---|---|
GroupProxy |
StaticPropertyConfigurationMutable.getGroupForProperty(Property<?> prop) |
GroupProxy |
StaticPropertyConfigurationImmutable.getGroupForProperty(Property<?> prop) |
GroupProxy |
AndHowCore.getGroupForProperty(Property<?> prop) |
| Modifier and Type | Method and Description |
|---|---|
List<GroupProxy> |
StaticPropertyConfigurationMutable.getPropertyGroups() |
List<GroupProxy> |
StaticPropertyConfigurationInternal.getPropertyGroups()
Returns a list of all registered groups.
|
List<GroupProxy> |
StaticPropertyConfigurationImmutable.getPropertyGroups() |
List<GroupProxy> |
AndHowCore.getPropertyGroups() |
| 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<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) |
| Constructor and Description |
|---|
DuplicateProperty(GroupProxy refGroup,
Property<?> refProperty,
GroupProxy badGroup,
Property<?> badProperty) |
ExportException(Exception exception,
GroupProxy group,
String message) |
InvalidDefaultValue(GroupProxy group,
Property<?> prop,
String invalidMessage) |
InvalidValidationConfiguration(GroupProxy group,
Property<?> property,
Validator<?> valid) |
NonUniqueNames(GroupProxy refGroup,
Property<?> refProperty,
GroupProxy badGroup,
Property<?> badProperty,
String conflictName) |
PropertyNotPartOfGroup(GroupProxy group,
Property<?> prop) |
| Constructor and Description |
|---|
AndHowCore(NamingStrategy naming,
List<Loader> loaders,
List<GroupProxy> registeredGroups) |
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) |
| 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 | 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) |
void |
BaseSamplePrinter.printPropertyGroupEnd(StaticPropertyConfigurationInternal definition,
PrintStream out,
GroupProxy group) |
void |
BaseSamplePrinter.printPropertyGroupStart(StaticPropertyConfigurationInternal definition,
PrintStream out,
GroupProxy group) |
| Modifier and Type | Method and Description |
|---|---|
List<GroupProxy> |
PropertyRegistrarLoader.getGroups()
Returns the list of groups that are registered via the ServiceLoader.
|
| Modifier and Type | Method and Description |
|---|---|
static GroupProxy |
AndHowUtil.buildGroupProxy(Class<?> group)
Invokes buildGroupProxy(group, true).
|
static GroupProxy |
AndHowUtil.buildGroupProxy(Class<?> group,
boolean userGroup)
Wraps a class that contains AndHow Properties in Proxy class for use within AndHow.
|
| Modifier and Type | Method and Description |
|---|---|
static List<GroupProxy> |
AndHowUtil.buildGroupProxies(Collection<Class<?>> registeredGroups) |
| Modifier and Type | Method and Description |
|---|---|
static List<Exporter> |
AndHowUtil.getExporters(GroupProxy group)
Returns the list of Exporters that are annotated for a BasePropertyGroup.
|
protected static ProblemList<ConstructionProblem> |
AndHowUtil.registerGroup(StaticPropertyConfigurationMutable appDef,
GroupProxy group) |
| Modifier and Type | Method and Description |
|---|---|
static StaticPropertyConfigurationMutable |
AndHowUtil.buildDefinition(List<GroupProxy> groups,
List<Loader> loaders,
NamingStrategy naming,
ProblemList<Problem> problems)
Build a fully populated ConstructionDefinition from the passed Groups,
using the NamingStrategy to generate names for each.
|
Copyright © 2017. All rights reserved.