public abstract class AbstractRubyTemplate extends Object
protected String getTemplatePath() {
return "/tmp/sample_dashboard_widget.erb";
}
Build and deploy the plugin in /extensions/plugins. The file /tmp/sample_dashboard_widget.erb will be reloaded on each request.
Constructor and Description |
---|
AbstractRubyTemplate() |
Modifier and Type | Method and Description |
---|---|
String |
getTemplate() |
protected abstract String |
getTemplatePath()
the path of the template.
|
protected String |
loadTemplateFromCache() |
public AbstractRubyTemplate()
public String getTemplate()
protected String loadTemplateFromCache()
protected abstract String getTemplatePath()
Copyright © 2009–2015 SonarSource. All rights reserved.