1 package net.sf.mavenhist.extractor; 2 3 /** 4 * Metric object that contains the location and the value as a result of a metric. 5 */ 6 public class MultiMetric { 7 private String location; 8 private String value; 9 10 /** 11 * Constructor. 12 * @param location of the measured data. 13 * @param value of the measured data. 14 */ 15 public MultiMetric(String location, String value) { 16 this.location = location; 17 this.value = value; 18 } 19 20 /** 21 * Location of the value. 22 * @return the location of the value. 23 */ 24 public String getLocation() { 25 return location; 26 } 27 28 /** 29 * Value of the result. 30 * @return the value of the result. 31 */ 32 public String getValue() { 33 return value; 34 } 35 }