T- the concrete type of the
ImmutableConfigurationclass produced by this builder
public interface ConfigurationBuilder<T extends ImmutableConfiguration> extends EventSource
This interface defines an abstract way of creating a
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.
ImmutableConfiguration is just the base interface for all configuration
objects. So that the return type of the
getConfiguration() method is
ImmutableConfiguration does not mean that only immutable configurations can
T getConfiguration() throws ConfigurationException
ConfigurationException- if an error occurs
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.