org.sonar.plugins.core.web
Class Lcom4Viewer

java.lang.Object
  extended by org.sonar.api.web.AbstractRubyTemplate
      extended by org.sonar.plugins.core.web.Lcom4Viewer
All Implemented Interfaces:
Extension, ServerComponent, ServerExtension, Page, RubyRailsPage, View

public class Lcom4Viewer
extends AbstractRubyTemplate
implements RubyRailsPage


Constructor Summary
Lcom4Viewer()
           
 
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.RubyRailsPage
getTemplate
 

Constructor Detail

Lcom4Viewer

public Lcom4Viewer()
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.