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.
|
Set<NamedParameterNode<Set<?>>> |
getBoundSets() |
ConfigurationBuilderImpl |
getBuilder() |
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)
Configuration
getNamedParameter
in interface Configuration
np
- A NamedParameter object from this Configuration's class hierarchy.Configuration.getClassHierarchy()
public <T> ClassNode<ExternalConstructor<T>> getBoundConstructor(ClassNode<T> cn)
getBoundConstructor
in interface Configuration
public Set<ClassNode<?>> getBoundImplementations()
getBoundImplementations
in interface Configuration
public Set<ClassNode<?>> getBoundConstructors()
getBoundConstructors
in interface Configuration
public Set<NamedParameterNode<?>> getNamedParameters()
getNamedParameters
in interface Configuration
public Set<ClassNode<?>> getLegacyConstructors()
getLegacyConstructors
in interface Configuration
public <T> ClassNode<T> getBoundImplementation(ClassNode<T> cn)
getBoundImplementation
in interface Configuration
public <T> ConstructorDef<T> getLegacyConstructor(ClassNode<T> cn)
Configuration
getLegacyConstructor
in interface Configuration
public ConfigurationBuilder newBuilder()
Configuration
newBuilder
in interface Configuration
public ClassHierarchy getClassHierarchy()
Configuration
getClassHierarchy
in interface Configuration
public Set<Object> getBoundSet(NamedParameterNode<Set<?>> np)
Configuration
getBoundSet
in interface Configuration
np
- A NamedParameterNode from this Configuration's class hierarchy.Configuration.getClassHierarchy()
public List<Object> getBoundList(NamedParameterNode<List<?>> np)
Configuration
getBoundList
in interface Configuration
np
- Target NamedParameterpublic Set<NamedParameterNode<Set<?>>> getBoundSets()
getBoundSets
in interface Configuration
public Set<NamedParameterNode<List<?>>> getBoundLists()
getBoundLists
in interface Configuration
public ConfigurationBuilderImpl getBuilder()
Copyright © 2015 The Apache Software Foundation. All rights reserved.