Class 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)  
      • 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​(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