public interface ConstructionDefinition
| Modifier and Type | Field and Description |
|---|---|
static List<Property<?>> |
EMPTY_PROPERTY_LIST |
| Modifier and Type | Method and Description |
|---|---|
List<EffectiveName> |
getAliases(Property<?> property)
Returns all aliases (in and out) for a property.
|
String |
getCanonicalName(Property<?> prop)
Returns the canonical name of a registered property.
|
List<ExportGroup> |
getExportGroups()
The list of ExportGroups, which handles exporting property values for use
outside the AndHow framework.
|
Class<? extends BasePropertyGroup> |
getGroupForProperty(Property<?> prop)
Finds the BasePropertyGroup containing the specified Property.
|
NamingStrategy |
getNamingStrategy()
Defines how names are created for Properties.
|
List<Property<?>> |
getProperties()
Returns a complete list of all registered properties.
|
List<Property<?>> |
getPropertiesForGroup(Class<? extends BasePropertyGroup> group)
Returns a list of Properties registered in the passed group.
|
Property<?> |
getProperty(String classpathStyleName)
Finds a registered property by any recognized classpath style name,
including the canonical name or 'in' aliases.
|
List<Class<? extends BasePropertyGroup>> |
getPropertyGroups()
Returns a list of all registered groups.
|
Map<String,String> |
getSystemEnvironment()
Handles access to System.getEnv().
|
List<EffectiveName> getAliases(Property<?> property)
property - The property to fetch naming information forString getCanonicalName(Property<?> prop)
prop - The property to get the canonical name forClass<? extends BasePropertyGroup> getGroupForProperty(Property<?> prop)
prop - The property to get the PropertyGroup forList<Property<?>> getProperties()
List<Property<?>> getPropertiesForGroup(Class<? extends BasePropertyGroup> group)
group - The group to get Properties forList<Class<? extends BasePropertyGroup>> getPropertyGroups()
Property<?> getProperty(String classpathStyleName)
my.property and the URI style name, like my/property.
The URI style name is just a means of reading properties in another system -
for AndHow the URI style name is not considered an actual name.classpathStyleName - A path to a property in the classpath style.List<ExportGroup> getExportGroups()
NamingStrategy getNamingStrategy()
Map<String,String> getSystemEnvironment()
Copyright © 2017. All rights reserved.