public interface Configuration extends Iterable<ConfigurationUnit<?>>
Configuration corresponds to a set of ConfigurationUnits,
building a mapping between a set of Parameters and some values that
we can apply to them. The different Parameters covered by this
Configuration can be retrieved through getParameters() and
the complete ConfigurationUnit associated to each Parameter
can be retrieved through getUnit(Parameter).| Modifier and Type | Method and Description |
|---|---|
void |
applyAll()
Set all the
Parameters of this Configuration to the
values they are associated with. |
Collection<Parameter<?>> |
getParameters() |
<Value> ConfigurationUnit<Value> |
getUnit(Parameter<Value> parameter) |
boolean |
isAllApplied() |
forEach, iterator, spliteratorCollection<Parameter<?>> getParameters()
Parameters covered by this Configuration<Value> ConfigurationUnit<Value> getUnit(Parameter<Value> parameter)
parameter - the Parameter to considerConfigurationUnit which associates this
Parameter with its Value in this
Configurationvoid applyAll()
Parameters of this Configuration to the
values they are associated with.isAllApplied()boolean isAllApplied()
true if all the ConfigurationUnits are
applied, false otherwiseapplyAll()Copyright © 2015. All rights reserved.