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