Interface Measure

    • Method Detail

      • getIntValue

        int getIntValue()
        The value of this measure as a integer.
        Throws:
        java.lang.IllegalStateException - if the value type of the metric is not an Integer as defined by Metric.ValueType.valueClass To find out the value type of a metric, check it's definition (eg., core metrics are defined in CoreMetrics).
      • getLongValue

        long getLongValue()
        The value of this measure as a long.
        Throws:
        java.lang.IllegalStateException - if the value type of the metric is not a Long as defined by Metric.ValueType.valueClass To find out the value type of a metric, check it's definition (eg., core metrics are defined in CoreMetrics).
      • getDoubleValue

        double getDoubleValue()
        The value of this measure as a double.
        Throws:
        java.lang.IllegalStateException - if the value type of the metric is not a Double as defined by Metric.ValueType.valueClass. To find out the value type of a metric, check it's definition (eg., core metrics are defined in CoreMetrics).
      • getStringValue

        java.lang.String getStringValue()
        The value of this measure as a string.
        Throws:
        java.lang.IllegalStateException - if the value type of the metric is not a String as defined by Metric.ValueType.valueClass To find out the value type of a metric, check it's definition (eg., core metrics are defined in CoreMetrics).
      • getBooleanValue

        boolean getBooleanValue()
        The value of this measure as a boolean.
        Throws:
        java.lang.IllegalStateException - if the value type of the metric is not a Boolean as defined by Metric.ValueType.valueClass To find out the value type of a metric, check it's definition (eg., core metrics are defined in CoreMetrics).