C
- The configuration class consumed for the creation.public interface MeasurementInitializer<C extends MeasurementConfiguration>
Modifier and Type | Method and Description |
---|---|
void |
initializeMeasurement(Measurement measurement,
C configuration,
ConstructionContext constructionContext)
Called when this addon should initialize the the measurement according to its configuration.
|
void initializeMeasurement(Measurement measurement, C configuration, ConstructionContext constructionContext) throws ConfigurationException, AddonException
measurement
- The measurement which should be initialized.configuration
- The configuration according to which the measurement should be initialized.constructionContext
- An interface to an object allowing to initialize the various measurement components.ConfigurationException
- Thrown if the configuration is invalid.AddonException
- Thrown if an error occurred during the initialization.