code: public static ReturnValueBuilder forPlugin(final String name, final ThresholdsEvaluator thr) {
          if (thr != null) {
              return new ReturnValueBuilder(name, thr);
          }
          return new ReturnValueBuilder(name, new ThresholdsEvaluatorBuilder().create());
      }
docs: Constructs the object with the given threshold evaluator.
  
  @param name
  The name of the plugin that is creating this result
  @param thr
  The threshold evaluator.
  
  @return the newly created instance.