Package org.opencms.configuration
Class CmsParameterStore.WeightedValue
java.lang.Object
org.opencms.configuration.CmsParameterStore.WeightedValue
- Enclosing class:
- CmsParameterStore
An individual weighted parameter value, with a 'source' attribute for better debuggability.
-
Constructor Summary
ConstructorDescriptionWeightedValue
(String value, double weight, String source) Creates a new weighted value. -
Method Summary
-
Constructor Details
-
WeightedValue
Creates a new weighted value.- Parameters:
value
- the actual valueweight
- the weightsource
- the source
-
-
Method Details
-
getSource
Gets the source of the value (for debugging).- Returns:
- the source of the value
-
getValue
Gets the value.- Returns:
- value
-
getWeight
Gets the weight of the value.- Returns:
- the weight of the value
-