aboutsummaryrefslogtreecommitdiffstats
path: root/it/it-plugins/license-plugin/src/main/java/LicensePlugin.java
diff options
context:
space:
mode:
Diffstat (limited to 'it/it-plugins/license-plugin/src/main/java/LicensePlugin.java')
-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();
+ }
+}