public interface PropertyConfiguration
private static final StrProp FOO = StrProp.builder().build();
| Modifier and Type | Method and Description |
|---|---|
List<EffectiveName> |
getAliases(Property<?> property)
All the effective 'in' & 'out' aliases for this property, not including the canonical name.
|
String |
getCanonicalName(Property<?> prop)
The canonical name of a
Property. |
NamingStrategy |
getNamingStrategy()
Defines how names are created for Properties.
|
List<EffectiveName> getAliases(Property<?> property)
The returned aliases may differ from the original requested aliases in two ways:
NamingStrategy may modify 'In' aliases, e.g. convert them to uppercase for
case-insensitive matching. This method returns the modified 'In' aliases.property - The property to fetch naming information forEffectiveNames for this Property.Property.getInAliases(),
Property.getOutAliases(),
Property.getRequestedAliases()String getCanonicalName(Property<?> prop)
Property.
Canonical Property names are the full Java classname of the class containing the Property, plus
the Property name, e.g. org.acme.myapp.MyClass.MyProperty. Properties contained in
inner classes and interfaces continue the same naming structure, e.g.
org.acme.myapp.MyClass.MyInnerClass.MyInnerInterface.MyProperty.
prop - The Property to get the canonical name for.NamingStrategy getNamingStrategy()
Copyright © 2022. All rights reserved.