T
- the concrete type of the Configuration
class produced by
this builderpublic interface ConfigurationBuilder<T extends Configuration> extends EventSource
Definition of an interface for objects that can create Configuration
objects of a specific type.
This interface defines an abstract way of creating a Configuration
object. It does not assume any specific way of how this is done; this is
completely in the responsibility of an implementation class. There is just a
single method that returns the configuration constructed by this builder.
Modifier and Type | Method and Description |
---|---|
T |
getConfiguration()
Returns the configuration provided by this builder.
|
addEventListener, removeEventListener
T getConfiguration() throws ConfigurationException
Configuration
object.ConfigurationException
- if an error occursCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.