@Retention(value=RUNTIME) @Target(value=TYPE) public @interface PropertyField
Modifier and Type | Required Element and Description |
---|---|
String |
key
Unique key within a property.
|
String |
name
This name will be displayed on the Settings page.
|
Modifier and Type | Optional Element and Description |
---|---|
String |
description
If not empty, this description will be displayed on the Settings page.
|
int |
indicativeSize
Indicative size of the field value in characters.
|
String[] |
options
Options for *_LIST types
|
PropertyType |
type |
public abstract String key
{key of parent property}.{key of the set}.{key of this field}
eg. sonar.jira.servers.JIRA1.url
public abstract String name
field.{key of parent property}.{key of this field}.name
in the language bundle.public abstract String description
field.{key of parent property}.{key of this field}.description
in the language bundle.public abstract int indicativeSize
public abstract PropertyType type
Copyright © 2009–2016 SonarSource. All rights reserved.