| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mavenhist.persistency.Metric
public class Metric
Metric defines a single metric instance.
| Constructor Summary | |
|---|---|
Metric()
Default no args constructor.  | 
|
Metric(String metricName,
       BigDecimal metricValue,
       Date date,
       String groupId,
       String artifactName,
       String scope,
       String buildNumber)
Creates a new metric.  | 
|
| Method Summary | |
|---|---|
 String | 
getArtifactName()
Gets artifactName.  | 
 String | 
getBuildNumber()
Gets buildNumber.  | 
 Date | 
getDate()
Gets date.  | 
 String | 
getGroupId()
Gets groupId.  | 
 String | 
getMetricName()
Gets metricName.  | 
 BigDecimal | 
getMetricValue()
Gets metricValue.  | 
 String | 
getScope()
Gets scope.  | 
 void | 
setArtifactName(String artifactName)
Sets artifactName.  | 
 void | 
setBuildNumber(String buildNumber)
Sets buildNumber.  | 
 void | 
setDate(Date date)
Sets date.  | 
 void | 
setGroupId(String groupId)
Sets groupId.  | 
 void | 
setMetricName(String metricName)
Sets metricName.  | 
 void | 
setMetricValue(BigDecimal metricValue)
Sets metricValue.  | 
 void | 
setScope(String scope)
Sets scope.  | 
 String | 
toString()
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public Metric()
public Metric(String metricName,
              BigDecimal metricValue,
              Date date,
              String groupId,
              String artifactName,
              String scope,
              String buildNumber)
metricName - namemetricValue - valuedate - dategroupId - group idartifactName - artifcat namescope - scopebuildNumber - build number| Method Detail | 
|---|
public String getArtifactName()
public void setArtifactName(String artifactName)
artifactName - artifactName to setpublic String getBuildNumber()
public void setBuildNumber(String buildNumber)
buildNumber - buildNumber to setpublic Date getDate()
public void setDate(Date date)
date - date to setpublic String getGroupId()
public void setGroupId(String groupId)
groupId - groupId to setpublic String getMetricName()
public void setMetricName(String metricName)
metricName - metricName to setpublic BigDecimal getMetricValue()
public void setMetricValue(BigDecimal metricValue)
metricValue - metricValue to setpublic String getScope()
public void setScope(String scope)
scope - scope to setpublic String toString()
toString in class Object
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||