public 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 and Description |
---|---|
static String |
RESERVED_PARAMETER_PREFIX
Constant for a prefix for reserved initialization parameter keys.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getParameters()
Returns a map with all parameters defined by this objects.
|
static final String RESERVED_PARAMETER_PREFIX
Map<String,Object> getParameters()
Configuration
implementation class the builder produces. The
values are the corresponding property values. The return value must not
be null.Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.