public class ConfigurationImpl extends Object implements Configuration
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
<T> ClassNode<ExternalConstructor<T>> |
getBoundConstructor(ClassNode<T> cn) |
Set<ClassNode<?>> |
getBoundConstructors() |
<T> ClassNode<T> |
getBoundImplementation(ClassNode<T> cn) |
Set<ClassNode<?>> |
getBoundImplementations() |
List<Object> |
getBoundList(NamedParameterNode<List<?>> np)
Get the list bound to a given NamedParameterNode.
|
Set<NamedParameterNode<List<?>>> |
getBoundLists() |
Set<Object> |
getBoundSet(NamedParameterNode<Set<?>> np)
Obtain the set of class hierarchy nodes or strings that were bound to a given NamedParameterNode.
|
Iterable<Map.Entry<NamedParameterNode<Set<?>>,Object>> |
getBoundSets()
Get the set bindings from set-valued NamedParameters to the values they were bound to.
|
ClassHierarchy |
getClassHierarchy()
Configuration objects are associated with the ClassHierarchy objects that were used during validation.
|
<T> ConstructorDef<T> |
getLegacyConstructor(ClassNode<T> cn)
Return the LegacyConstructor that has been bound to this Class.
|
Set<ClassNode<?>> |
getLegacyConstructors() |
String |
getNamedParameter(NamedParameterNode<?> np)
Return the value of the given named parameter as an unparsed string.
|
Set<NamedParameterNode<?>> |
getNamedParameters() |
int |
hashCode() |
ConfigurationBuilder |
newBuilder()
Create a new ConfigurationBuilder object based on the same classpath
as this Configuration, and populate it with the configuration options
of this object.
|
public String getNamedParameter(NamedParameterNode<?> np)
ConfigurationgetNamedParameter in interface Configurationnp - A NamedParameter object from this Configuration's class hierarchy.Configuration.getClassHierarchy()public <T> ClassNode<ExternalConstructor<T>> getBoundConstructor(ClassNode<T> cn)
getBoundConstructor in interface Configurationpublic Set<ClassNode<?>> getBoundImplementations()
getBoundImplementations in interface Configurationpublic Set<ClassNode<?>> getBoundConstructors()
getBoundConstructors in interface Configurationpublic Set<NamedParameterNode<?>> getNamedParameters()
getNamedParameters in interface Configurationpublic Set<ClassNode<?>> getLegacyConstructors()
getLegacyConstructors in interface Configurationpublic <T> ClassNode<T> getBoundImplementation(ClassNode<T> cn)
getBoundImplementation in interface Configurationpublic <T> ConstructorDef<T> getLegacyConstructor(ClassNode<T> cn)
ConfigurationgetLegacyConstructor in interface Configurationpublic ConfigurationBuilder newBuilder()
ConfigurationnewBuilder in interface Configurationpublic ClassHierarchy getClassHierarchy()
ConfigurationgetClassHierarchy in interface Configurationpublic Set<Object> getBoundSet(NamedParameterNode<Set<?>> np)
ConfigurationgetBoundSet in interface Configurationnp - A NamedParameterNode from this Configuration's class hierarchy.Configuration.getClassHierarchy()public List<Object> getBoundList(NamedParameterNode<List<?>> np)
ConfigurationgetBoundList in interface Configurationnp - Target NamedParameterpublic Iterable<Map.Entry<NamedParameterNode<Set<?>>,Object>> getBoundSets()
ConfigurationgetBoundSets in interface Configurationpublic Set<NamedParameterNode<List<?>>> getBoundLists()
getBoundLists in interface ConfigurationCopyright © 2015 The Apache Software Foundation. All rights reserved.