org.sonar.api.web
Interface DashboardWidget

All Superinterfaces:
Extension, ServerExtension
All Known Implementing Classes:
AbstractDashboardWidget

Deprecated. use org.sonar.api.web.RubyRailsWidget, better because of optional conditions (see annotations in org.sonar.api.web.views package)

@Deprecated
public interface DashboardWidget
extends ServerExtension

Widget in project dashboard.

Template is written in Ruby on Rails, so ERB snippets can be injected in HTML. Example : <%= my ruby code -%>. Example

It's recommended to extend org.sonar.api.web.AbstractDashboardWidget for performance reasons. Template is cached in memory.

Since:
1.10

Method Summary
 String getTemplate()
          Deprecated.  
 

Method Detail

getTemplate

String getTemplate()
Deprecated. 
Returns:
content of the Ruby on Rails template


Copyright © 2009 SonarSource SA. All Rights Reserved.