Package org.sonar.api.web
Class Dashboard.Widget
- java.lang.Object
-
- org.sonar.api.web.Dashboard.Widget
-
- Enclosing class:
- Dashboard
public static final class Dashboard.Widget extends java.lang.Object
Note that this class is an inner class to avoid confusion with the extension point org.sonar.api.web.Widget.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getId()
Returns the identifier of this widget.java.util.Map<java.lang.String,java.lang.String>
getProperties()
Returns the properties of this widget.java.lang.String
getProperty(java.lang.String key)
Dashboard.Widget
setProperty(java.lang.String key, java.lang.String value)
-
-
-
Method Detail
-
setProperty
public Dashboard.Widget setProperty(java.lang.String key, java.lang.String value)
-
getProperties
public java.util.Map<java.lang.String,java.lang.String> getProperties()
Returns the properties of this widget.- Returns:
- the properties
-
getProperty
public java.lang.String getProperty(java.lang.String key)
-
getId
public java.lang.String getId()
Returns the identifier of this widget.- Returns:
- the id
-
-