code: public void setMetricDefinitions(java.util.Collection<MetricDefinition> metricDefinitions) {
          if (metricDefinitions == null) {
              this.metricDefinitions = null;
              return;
          }
  
          this.metricDefinitions = new java.util.ArrayList<MetricDefinition>(metricDefinitions);
      }
docs: <p>
  A list of <code>MetricDefinition</code> objects, which are used for parsing metrics generated by the algorithm.
  </p>
  
  @param metricDefinitions
  A list of <code>MetricDefinition</code> objects, which are used for parsing metrics generated by the
  algorithm.