Class CmsParameterStore.WeightedValue

    • Constructor Summary

      Constructors 
      Constructor Description
      WeightedValue​(java.lang.String value, double weight, java.lang.String source)
      Creates a new weighted value.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getSource()
      Gets the source of the value (for debugging).
      java.lang.String getValue()
      Gets the value.
      double getWeight()
      Gets the weight of the value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WeightedValue

        public WeightedValue​(java.lang.String value,
                             double weight,
                             java.lang.String source)
        Creates a new weighted value.
        Parameters:
        value - the actual value
        weight - the weight
        source - the source
    • Method Detail

      • getSource

        public java.lang.String getSource()
        Gets the source of the value (for debugging).
        Returns:
        the source of the value
      • getValue

        public java.lang.String getValue()
        Gets the value.
        Returns:
        value
      • getWeight

        public double getWeight()
        Gets the weight of the value.
        Returns:
        the weight of the value