diff options
Diffstat (limited to 'sonar-squid/src')
-rw-r--r-- | sonar-squid/src/main/java/org/sonar/squid/api/CheckMessage.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sonar-squid/src/main/java/org/sonar/squid/api/CheckMessage.java b/sonar-squid/src/main/java/org/sonar/squid/api/CheckMessage.java index 425b26af8be..e9caeb3e2af 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/api/CheckMessage.java +++ b/sonar-squid/src/main/java/org/sonar/squid/api/CheckMessage.java @@ -28,6 +28,7 @@ import org.sonar.check.Message; public class CheckMessage implements Message { private Integer line; + private Double cost; private SourceCode sourceCode; private CodeCheck codeCheck; private String defaultMessage; @@ -55,6 +56,14 @@ public class CheckMessage implements Message { return line; } + public void setCost(double cost) { + this.cost = cost; + } + + public Double getCost() { + return cost; + } + public CodeCheck getChecker() { return codeCheck; } |