| Modifier and Type | Required Element and Description | 
|---|---|
| String | keyUnique key within all plugins. | 
| String | name | 
| Modifier and Type | Optional Element and Description | 
|---|---|
| String | category | 
| String | defaultValueThe empty string "" is considered as null, so it's not possible to have empty strings for default values. | 
| String | deprecatedKeyRelocation of key. | 
| String | description | 
| PropertyField[] | fieldsA Property with fields is considered a property set. | 
| boolean | globalIs the property displayed in global settings page ? | 
| boolean | moduleIs the property displayed in module settings page ? A module is a maven sub-project. | 
| boolean | multiValuesCan the property take multiple values. | 
| String[] | optionsOptions for *_LIST types | 
| boolean | projectIs the property displayed in project settings page ? | 
| String | propertySetKeyA Property of type  PropertyType.PROPERTY_SETcan reference a set of properties
 by its key. | 
| PropertyType | type | 
public abstract String defaultValue
public abstract String description
public abstract String category
PropertyDefinition.category()public abstract boolean project
public abstract boolean module
public abstract boolean global
public abstract PropertyType type
public abstract String[] options
PropertyType.SINGLE_SELECT_LIST
 For example {"property_1", "property_3", "property_3"})., 3.3  Options for property of type PropertyType.METRICkey:REGEXP, domain:REGEXP and type:comma_separated__list_of_types.key:new_.* will match any metric which key starts by new_.type:INT,FLOAT will match any metric of type INT or FLOAT.type:NUMERIC will match any metric of numerictype.public abstract boolean multiValues
public abstract String propertySetKey
PropertyType.PROPERTY_SET can reference a set of properties
 by its key.public abstract PropertyField[] fields
public abstract String deprecatedKey
Copyright © 2009–2016 SonarSource. All rights reserved.