code: public ReturnValueBuilder withValue(final Metric pluginMetric) {
          if (thresholds.isMetricRequired(pluginMetric.getMetricName())) {
              Status newStatus = thresholds.evaluate(pluginMetric);
              if (newStatus.getSeverity() > status.getSeverity()) {
                  status = newStatus;
              }
  
              IThreshold thr = thresholds.getThreshold(pluginMetric.getMetricName());
  
              formatResultMessage(pluginMetric);
  
              retVal.withPerformanceData(pluginMetric, thr);
          }
          return this;
      }
docs: Configure the {@link ReturnValue} we are building with the specified
  metric.
  
  @param pluginMetric
  The metric for which we want to compute the result Status.
  
  @return this