aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws-client/src/main/java/org/sonar/wsclient
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2010-10-21 08:51:08 +0000
committersimonbrandhof <simon.brandhof@gmail.com>2010-10-21 08:51:08 +0000
commitc1adce71622e282a352736041989c2021a4af14b (patch)
tree1954afd741d04922ec9459b86703e70edd45596d /sonar-ws-client/src/main/java/org/sonar/wsclient
parentd79015f0743d21c67b54efd02c4418cc9bdcac3a (diff)
downloadsonarqube-c1adce71622e282a352736041989c2021a4af14b.tar.gz
sonarqube-c1adce71622e282a352736041989c2021a4af14b.zip
wsclient: add Measure.toString()
Diffstat (limited to 'sonar-ws-client/src/main/java/org/sonar/wsclient')
-rw-r--r--sonar-ws-client/src/main/java/org/sonar/wsclient/services/Measure.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/services/Measure.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/services/Measure.java
index eb3cae9b9f6..22036b279e0 100644
--- a/sonar-ws-client/src/main/java/org/sonar/wsclient/services/Measure.java
+++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/services/Measure.java
@@ -187,4 +187,22 @@ public class Measure extends Model {
this.characteristicName = s;
return this;
}
+
+ @Override
+ public String toString() {
+ return new StringBuilder().append("Measure{")
+ .append("metricKey='").append(metricKey).append('\'')
+ .append(", metricName='").append(metricName).append('\'')
+ .append(", value=").append(value)
+ .append(", formattedValue='").append(formattedValue).append('\'')
+ .append(", data='").append(data).append('\'')
+ .append(", characteristicKey='").append(characteristicKey).append('\'')
+ .append(", characteristicName='").append(characteristicName).append('\'')
+ .append(", trend=").append(trend).append(", var=").append(var)
+ .append(", ruleKey='").append(ruleKey).append('\'')
+ .append(", ruleName='").append(ruleName).append('\'')
+ .append(", ruleCategory='").append(ruleCategory).append('\'')
+ .append(", rulePriority='").append(rulePriority).append('\'')
+ .append('}').toString();
+ }
}