
public interface ConfigurationBulkChangeHandler
Bulk changes of configuration parameters happen when :
The bulk validation step is intended to validate that all (or a subset) of the provided parameters full view is in a consistent state. If problems are detected an exception is meant to be thrown, in which case the bulk change process is interrupted and the configuration state is left unchanged.
The bulk parameter setting method is invoked after a successful validation step. Exceptions should normally not be thrown at this step. If it happens, the configuration state may have been modified.
| Modifier and Type | Method and Description |
|---|---|
default void |
setParameterBulk(Map<String,Object> parametersView)
Set one or more configuration parameters to a new value.
|
default void |
validateBulkChange(Map<String,Object> parametersView)
Validate a set of proposed changes of configuration parameters of this
component.
|
default void validateBulkChange(Map<String,Object> parametersView)
parametersView - the whole set of parameters for this component with
their value to be validated. it maps the parameter names to their value.default void setParameterBulk(Map<String,Object> parametersView)
BulkSettingException. All parameters present in the
passed map do not have to be handled by this method : the parameters that
have not been set at this step will be set by the framework using an
available setter method, or directly on the corresponding fields using
introspection. This method is called by the framework only when
necessary.parametersView - a map of parameter names with the new value for
this parameterCopyright © 2018 LSST. All rights reserved.