org.sonar.api.web
Class Dashboard.Widget

java.lang.Object
  extended by org.sonar.api.web.Dashboard.Widget
Enclosing class:
Dashboard

public static final class Dashboard.Widget
extends Object

Note that this class is an inner class to avoid confusion with the extension point org.sonar.api.web.Widget.


Method Summary
 String getId()
          Returns the identifier of this widget.
 Map<String,String> getProperties()
          Returns the properties of this widget.
 String getProperty(String key)
           
 Dashboard.Widget setProperty(String key, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setProperty

public Dashboard.Widget setProperty(String key,
                                    String value)

getProperties

public Map<String,String> getProperties()
Returns the properties of this widget.

Returns:
the properties

getProperty

public String getProperty(String key)

getId

public String getId()
Returns the identifier of this widget.

Returns:
the id


Copyright © 2009-2012 SonarSource. All Rights Reserved.