@Retention(value=RUNTIME) @Target(value=TYPE) public @interface Property
org.sonar.api.resources.Project
(see method getConfiguration()
).
Must be used in org.sonar.api.Plugin
classes only.
Modifier and Type | Required Element and Description |
---|---|
String |
key
Unique key within all plugins.
|
String |
name |
Modifier and Type | Optional Element and Description |
---|---|
String |
category |
String |
defaultValue
The empty string "" is considered as null, so it's not possible to have empty strings for default values.
|
String |
description |
boolean |
global
Is the property displayed in global settings page ?
|
boolean |
module
Is the property displayed in module settings page ? A module is a maven sub-project.
|
String[] |
options
Options for *_LIST types
|
boolean |
project
Is the property displayed in projet settings page ?
|
PropertyType |
type |
public abstract String key
public abstract String defaultValue
public abstract String description
public abstract boolean project
public abstract boolean module
public abstract boolean global
public abstract PropertyType type
Copyright © 2009-2012 SonarSource. All Rights Reserved.