org.sonar.api.web
Interface DashboardWidget
- All Superinterfaces:
- Extension, ServerExtension
- All Known Implementing Classes:
- AbstractDashboardWidget
public interface DashboardWidget
- extends ServerExtension
Widget in project dashboard.
Template is interpreted by JRuby on Rails, so Ruby tags can be injected in HTML : <%= my ruby code -%>.
Example
It's recommended to extend org.sonar.api.web.AbstractDashboardWidget
for performance reasons.
Template is cached in memory.
getTemplate
java.lang.String getTemplate()
- Returns:
- content of the JRuby on Rails template
Copyright © 2009 SonarSource SA. All Rights Reserved.