org.sonar.commons.measures
Class Measure
java.lang.Object
org.sonar.commons.measures.Measure
public class Measure
- extends java.lang.Object
Constructor Summary |
Measure()
|
Measure(java.lang.Integer projectId,
ch.hortis.sonar.model.Metric metric,
java.lang.Double value,
java.util.Date measureDate)
|
Measure(ch.hortis.sonar.model.Snapshot snapshot,
ch.hortis.sonar.service.MeasureKey key,
java.lang.Double value)
|
Measure(ch.hortis.sonar.model.Snapshot snapshot,
ch.hortis.sonar.model.Metric metric,
java.lang.Double value)
|
Measure(ch.hortis.sonar.model.Snapshot snapshot,
ch.hortis.sonar.model.Metric metric,
java.lang.String value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Measure
public Measure()
Measure
public Measure(java.lang.Integer projectId,
ch.hortis.sonar.model.Metric metric,
java.lang.Double value,
java.util.Date measureDate)
Measure
public Measure(ch.hortis.sonar.model.Snapshot snapshot,
ch.hortis.sonar.service.MeasureKey key,
java.lang.Double value)
Measure
public Measure(ch.hortis.sonar.model.Snapshot snapshot,
ch.hortis.sonar.model.Metric metric,
java.lang.Double value)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
Measure
public Measure(ch.hortis.sonar.model.Snapshot snapshot,
ch.hortis.sonar.model.Metric metric,
java.lang.String value)
ephemereSnapshot
public ch.hortis.sonar.model.Snapshot ephemereSnapshot()
getId
public java.lang.Integer getId()
getMeasureDate
public java.util.Date getMeasureDate()
getMetric
public ch.hortis.sonar.model.Metric getMetric()
getParams
public java.util.List<MeasureParameter> getParams()
getProjectId
public java.lang.Integer getProjectId()
getRule
public ch.hortis.sonar.model.Rule getRule()
getRuleId
public java.lang.Integer getRuleId()
getRulesCategoryId
public java.lang.Integer getRulesCategoryId()
getSnapshotId
public java.lang.Integer getSnapshotId()
getTendency
public java.lang.Integer getTendency()
getTextValue
public java.lang.String getTextValue()
getValue
public java.lang.Double getValue()
setId
public void setId(java.lang.Integer id)
setMeasureDate
public void setMeasureDate(java.util.Date measureDate)
setMetric
public void setMetric(ch.hortis.sonar.model.Metric metric)
setParams
public void setParams(java.util.List<MeasureParameter> params)
setProjectId
public void setProjectId(java.lang.Integer projectId)
setRule
public void setRule(ch.hortis.sonar.model.Rule rule)
setRulesCategoryId
public void setRulesCategoryId(java.lang.Integer id)
setSnapshotId
public void setSnapshotId(java.lang.Integer snapshotId)
setTendency
public void setTendency(java.lang.Integer tendency)
setTextValue
public void setTextValue(java.lang.String textValue)
setValue
public void setValue(java.lang.Double value)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2008-2009 SonarSource SA. All Rights Reserved.