aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2013-06-26 11:30:53 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2013-06-26 11:31:12 +0200
commit61e3e7a2551b42c4ede37cbdee5392e1d93d6a31 (patch)
treea0753923bcb00bd84abace89fed5177e5aa74367 /sonar-plugin-api
parentaae644fd6f1344fa9f304627335534485862ac04 (diff)
downloadsonarqube-61e3e7a2551b42c4ede37cbdee5392e1d93d6a31.tar.gz
sonarqube-61e3e7a2551b42c4ede37cbdee5392e1d93d6a31.zip
Fix some quality flaws
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/batch/maven/MavenPluginHandler.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/maven/MavenPluginHandler.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/maven/MavenPluginHandler.java
index bac5aec6ca9..e2646af8f0f 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/maven/MavenPluginHandler.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/maven/MavenPluginHandler.java
@@ -22,6 +22,9 @@ package org.sonar.api.batch.maven;
import org.sonar.api.BatchExtension;
import org.sonar.api.resources.Project;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+
/**
* @since 1.10
*/
@@ -32,6 +35,7 @@ public interface MavenPluginHandler extends BatchExtension {
*
* @return the group id
*/
+ @Nonnull
String getGroupId();
/**
@@ -39,6 +43,7 @@ public interface MavenPluginHandler extends BatchExtension {
*
* @return artifact id
*/
+ @Nonnull
String getArtifactId();
/**
@@ -46,6 +51,7 @@ public interface MavenPluginHandler extends BatchExtension {
*
* @return the plugin version
*/
+ @Nullable
String getVersion();
/**
@@ -61,6 +67,7 @@ public interface MavenPluginHandler extends BatchExtension {
*
* @return an array of goals
*/
+ @Nonnull
String[] getGoals();
/**