CombinedBuilderParameters, DatabaseBuilderParameters, FileBasedBuilderParameters, HierarchicalBuilderParameters, INIBuilderParameters, JndiBuilderParameters, MultiFileBuilderParameters, PropertiesBuilderParameters, XMLBuilderParametersBasicBuilderParameters, CombinedBuilderParametersImpl, DatabaseBuilderParametersImpl, EventListenerParameters, FileBasedBuilderParametersImpl, HierarchicalBuilderParametersImpl, INIBuilderParametersImpl, JndiBuilderParametersImpl, MultiFileBuilderParametersImpl, PropertiesBuilderParametersImpl, XMLBuilderParametersImplpublic interface BuilderParameters
An interface to be implemented by objects which can be used to parameterize a
ConfigurationBuilder.
This interface is part of a Java DSL for creating and initializing builders
for specific Configuration classes. Concrete implementations
typically collect a set of related properties for the builder. There will be
specific set methods for providing values for these properties. Then, this
interface requires a generic getParameters() method which has to
return all property values as a map. When constructing the builder the map is
evaluated to define properties of the Configuration objects to be
constructed.
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
RESERVED_PARAMETER_PREFIX |
Constant for a prefix for reserved initialization parameter keys.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getParameters() |
Returns a map with all parameters defined by this objects.
|
static final java.lang.String RESERVED_PARAMETER_PREFIX
java.util.Map<java.lang.String,java.lang.Object> getParameters()
Configuration implementation class the builder produces. The
values are the corresponding property values. The return value must not
be null.Copyright © 2001–2018. All rights reserved.