org.sonar.plugins.core.widgets
Class HotspotMostViolatedRulesWidget

java.lang.Object
  extended by org.sonar.api.web.AbstractRubyTemplate
      extended by org.sonar.plugins.core.widgets.HotspotMostViolatedRulesWidget
All Implemented Interfaces:
Extension, ServerComponent, ServerExtension, RubyRailsWidget, View, Widget

public class HotspotMostViolatedRulesWidget
extends AbstractRubyTemplate
implements RubyRailsWidget


Constructor Summary
HotspotMostViolatedRulesWidget()
           
 
Method Summary
 String getId()
           
protected  String getTemplatePath()
          the path of the template.
 String getTitle()
           
 
Methods inherited from class org.sonar.api.web.AbstractRubyTemplate
getTemplate, loadTemplateFromCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.sonar.api.web.RubyRailsWidget
getTemplate
 

Constructor Detail

HotspotMostViolatedRulesWidget

public HotspotMostViolatedRulesWidget()
Method Detail

getId

public String getId()
Specified by:
getId in interface View

getTitle

public String getTitle()
Specified by:
getTitle in interface View

getTemplatePath

protected String getTemplatePath()
Description copied from class: AbstractRubyTemplate
the path of the template. In production environment, it's the classloader path (for example "/org/sonar/my_template.erb"). In dev mode, it's useful to return an absolute path (for example C:/temp/my_template.erb). In such a case the result is not cached.

Specified by:
getTemplatePath in class AbstractRubyTemplate


Copyright © 2009-2012 SonarSource. All Rights Reserved.