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.
       
    • Element Detail

      • key

        java.lang.String key
        Deprecated.
      • type

        WidgetPropertyType type
        Deprecated.
        Default:
        org.sonar.api.web.WidgetPropertyType.STRING
      • defaultValue

        java.lang.String defaultValue
        Deprecated.
        Default:
        ""
      • description

        java.lang.String description
        Deprecated.
        Default:
        ""
      • optional

        boolean optional
        Deprecated.
        Default:
        true
      • 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 supported 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., 3.5 Options for property of type WidgetPropertyType.SINGLE_SELECT_LIST. For example {"property_1", "property_3", "property_3"}).
        Default:
        {}