aboutsummaryrefslogtreecommitdiffstats
path: root/it/it-plugins/license-plugin/src/main/java/LicensePlugin.java
blob: b7d589dac1d9e8e2d09c9c4770788912cc57b8df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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();
  }
}