Class AbstractRubyTemplate

  • Direct Known Subclasses:
    AbstractDashboardWidget, PageDecoration

    @Deprecated
    public abstract class AbstractRubyTemplate
    extends java.lang.Object
    Deprecated.
    since 6.3. This class is ignored.
    Since:
    1.11
    • Constructor Detail

      • AbstractRubyTemplate

        public AbstractRubyTemplate()
        Deprecated.
    • Method Detail

      • getTemplate

        public java.lang.String getTemplate()
        Deprecated.
      • loadTemplateFromCache

        protected java.lang.String loadTemplateFromCache()
        Deprecated.
      • getTemplatePath

        protected abstract java.lang.String getTemplatePath()
        Deprecated.
        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.