Package org.sonar.api.web
Annotation Type WidgetProperty
-
@Deprecated @Retention(RUNTIME) @Target(TYPE) public @interface WidgetProperty
Deprecated.since 6.2, this extension is ignored as dashboards have been removed
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
key
Deprecated.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
defaultValue
Deprecated.java.lang.String
description
Deprecated.boolean
optional
Deprecated.java.lang.String[]
options
Deprecated.WidgetPropertyType
type
Deprecated.
-
-
-
-
type
WidgetPropertyType type
Deprecated.- Default:
- org.sonar.api.web.WidgetPropertyType.STRING
-
-
-
options
java.lang.String[] options
Deprecated.- Since:
- 3.3 Options for property of type
WidgetPropertyType.METRIC
. If no option is specified, any metric will match. If options are specified, all must match for the metric to be displayed. Three types of filter are supportedkey:REGEXP
,domain:REGEXP
andtype:comma_separated__list_of_types
. For examplekey:new_.*
will match any metric which key starts bynew_
. For exampletype:INT,FLOAT
will match any metric of typeINT
orFLOAT
. For exampletype:NUMERIC
will match any metric of numerictype., 3.5 Options for property of typeWidgetPropertyType.SINGLE_SELECT_LIST
. For example {"property_1", "property_3", "property_3"}).
- Default:
- {}
-
-