Class FullHtmlProjectDescriptionRenderer

java.lang.Object
com.atlassian.jira.project.renderer.FullHtmlProjectDescriptionRenderer
All Implemented Interfaces:
ProjectDescriptionRenderer

public class FullHtmlProjectDescriptionRenderer extends Object implements ProjectDescriptionRenderer
  • Constructor Details

    • FullHtmlProjectDescriptionRenderer

      public FullHtmlProjectDescriptionRenderer()
  • Method Details

    • getViewHtml

      @Nonnull public String getViewHtml(@Nonnull Project project)
      Description copied from interface: ProjectDescriptionRenderer
      Returns the rendered html to view the project description.
      Specified by:
      getViewHtml in interface ProjectDescriptionRenderer
      Parameters:
      project - the project for which the description should be returned; not null
      Returns:
      the project description, escaping may be already applied (depending on the security settings).
    • getEditHtml

      @Nonnull public String getEditHtml(@Nonnull Project project)
      Description copied from interface: ProjectDescriptionRenderer
      Returns the rendered html to edit the project description.
      Specified by:
      getEditHtml in interface ProjectDescriptionRenderer
      Parameters:
      project - the project which is going to be edited; not null
      Returns:
      the rendered html to edit the project description
    • getViewHtml

      @Nonnull public String getViewHtml(@Nonnull String description)
      Description copied from interface: ProjectDescriptionRenderer
      Returns the rendered html to view the project description.
      Specified by:
      getViewHtml in interface ProjectDescriptionRenderer
      Parameters:
      description - the raw project description
      Returns:
      the project description, escaping may be already applied (depending on the security settings).
    • getEditHtml

      @Nonnull public String getEditHtml(@Nonnull String description)
      Description copied from interface: ProjectDescriptionRenderer
      Returns the rendered html to edit the project description.
      Specified by:
      getEditHtml in interface ProjectDescriptionRenderer
      Parameters:
      description - the raw project description
      Returns:
      the rendered html to edit the project description
    • getDescriptionI18nKey

      @Nonnull public String getDescriptionI18nKey()
      Description copied from interface: ProjectDescriptionRenderer
      Returns the i18n key containing the description of the edit field.
      Specified by:
      getDescriptionI18nKey in interface ProjectDescriptionRenderer
      Returns:
      the i18n key containing the description of the edit field
    • isUseWikiMarkup

      public boolean isUseWikiMarkup()
      Description copied from interface: ProjectDescriptionRenderer
      Indicates whether the renderer uses wiki markup or not.
      Specified by:
      isUseWikiMarkup in interface ProjectDescriptionRenderer
      Returns:
      true if the renderer uses wiki markup, false if otherwise