aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-06-03 12:32:42 +0200
committerJulien Lancelot <julien.lancelot@gmail.com>2013-06-03 12:32:42 +0200
commitb869f970c10e33f45f3b3ac28e2c30c80e7a1962 (patch)
treefdf2bf16af8e81082f75464006d2a636b80f06cd /sonar-plugin-api
parent507e8b9a0c214ca86722af265cb3fa81c3d0c09f (diff)
downloadsonarqube-b869f970c10e33f45f3b3ac28e2c30c80e7a1962.tar.gz
sonarqube-b869f970c10e33f45f3b3ac28e2c30c80e7a1962.zip
SONAR-4315 Add projectSettings in Action API
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/issue/action/Function.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/issue/action/Function.java b/sonar-plugin-api/src/main/java/org/sonar/api/issue/action/Function.java
index 70401abc17d..a213670ec47 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/issue/action/Function.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/issue/action/Function.java
@@ -19,6 +19,7 @@
*/
package org.sonar.api.issue.action;
+import org.sonar.api.config.Settings;
import org.sonar.api.issue.Issue;
import javax.annotation.Nullable;
@@ -33,6 +34,8 @@ public interface Function {
interface Context {
Issue issue();
+ Settings projectSettings();
+
Context setAttribute(String key, @Nullable String value);
Context addComment(@Nullable String text);