@Retention(value=RUNTIME) @Target(value=TYPE) public @interface WidgetProperty
| Modifier and Type | Required Element and Description |
|---|---|
String |
key |
| Modifier and Type | Optional Element and Description |
|---|---|
String |
defaultValue |
String |
description |
boolean |
optional |
String[] |
options
Options for property of type WidgetPropertyType.METRIC.
|
WidgetPropertyType |
type |
public abstract WidgetPropertyType type
public abstract String defaultValue
public abstract String description
public abstract boolean optional
public abstract String[] options
key:REGEXP, domain:REGEXP and type:comma_separated__list_of_types.
For example key:new_.* will match any metric which key starts by new_.
For example type:INT,FLOAT will match any metric of type INT or FLOAT.
For example type:NUMERIC will match any metric of numerictype.Copyright © 2009-2013 SonarSource. All Rights Reserved.