org.sonar.api.web
Annotation Type WidgetScope
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface WidgetScope
Depending on its scope, a widget can be available for project dashboards (value = "PROJECT"),
global dashboards (value = "GLOBAL") or both (value = {"PROJECT", "GLOBAL"}).
Before version 3.1 all widget had a scope "PROJECT". If a widget is not annotated with @WidgetScope,
then is is assumed project scoped.
- Since:
- 3.1
value
public abstract String[] value
- Default:
- "PROJECT"
Copyright © 2009–2015 SonarSource. All rights reserved.