aboutsummaryrefslogtreecommitdiffstats
path: root/it/it-plugins/license-plugin/src
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2015-07-27 12:25:42 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2015-07-27 13:48:01 +0200
commit60a09b339533429a7eebecc75c21f36a45ee06ee (patch)
tree32f32771858b51aea12c69f3d073d8aa1bb0b33a /it/it-plugins/license-plugin/src
parent5050ad482cc23da9593fabf5e57863665f39aabd (diff)
downloadsonarqube-60a09b339533429a7eebecc75c21f36a45ee06ee.tar.gz
sonarqube-60a09b339533429a7eebecc75c21f36a45ee06ee.zip
Move server category test from it-sonar
Diffstat (limited to 'it/it-plugins/license-plugin/src')
-rw-r--r--it/it-plugins/license-plugin/src/main/java/LicensePlugin.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/it/it-plugins/license-plugin/src/main/java/LicensePlugin.java b/it/it-plugins/license-plugin/src/main/java/LicensePlugin.java
new file mode 100644
index 00000000000..b7d589dac1d
--- /dev/null
+++ b/it/it-plugins/license-plugin/src/main/java/LicensePlugin.java
@@ -0,0 +1,24 @@
+import java.util.Collections;
+import java.util.List;
+import org.sonar.api.CoreProperties;
+import org.sonar.api.Properties;
+import org.sonar.api.Property;
+import org.sonar.api.PropertyType;
+import org.sonar.api.SonarPlugin;
+
+@Properties({
+ @Property(
+ key = "untyped.license.secured",
+ name = "Property without license type",
+ category = CoreProperties.CATEGORY_GENERAL),
+ @Property(
+ key = "typed.license.secured",
+ name = "Typed property",
+ category = CoreProperties.CATEGORY_GENERAL,
+ type = PropertyType.LICENSE)
+})
+public class LicensePlugin extends SonarPlugin {
+ public List getExtensions() {
+ return Collections.emptyList();
+ }
+}