Class FullHtmlProjectDescriptionRenderer
java.lang.Object
com.atlassian.jira.project.renderer.FullHtmlProjectDescriptionRenderer
- All Implemented Interfaces:
ProjectDescriptionRenderer
public class FullHtmlProjectDescriptionRenderer
extends Object
implements ProjectDescriptionRenderer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the i18n key containing the description of the edit field.getEditHtml(Project project) Returns the rendered html to edit the project description.getEditHtml(String description) Returns the rendered html to edit the project description.getViewHtml(Project project) Returns the rendered html to view the project description.getViewHtml(String description) Returns the rendered html to view the project description.booleanIndicates whether the renderer uses wiki markup or not.
-
Constructor Details
-
FullHtmlProjectDescriptionRenderer
public FullHtmlProjectDescriptionRenderer()
-
-
Method Details
-
getViewHtml
Description copied from interface:ProjectDescriptionRendererReturns the rendered html to view the project description.- Specified by:
getViewHtmlin interfaceProjectDescriptionRenderer- Parameters:
project- the project for which the description should be returned; notnull- Returns:
- the project description, escaping may be already applied (depending on the security settings).
-
getEditHtml
Description copied from interface:ProjectDescriptionRendererReturns the rendered html to edit the project description.- Specified by:
getEditHtmlin interfaceProjectDescriptionRenderer- Parameters:
project- the project which is going to be edited; notnull- Returns:
- the rendered html to edit the project description
-
getViewHtml
Description copied from interface:ProjectDescriptionRendererReturns the rendered html to view the project description.- Specified by:
getViewHtmlin interfaceProjectDescriptionRenderer- Parameters:
description- the raw project description- Returns:
- the project description, escaping may be already applied (depending on the security settings).
-
getEditHtml
Description copied from interface:ProjectDescriptionRendererReturns the rendered html to edit the project description.- Specified by:
getEditHtmlin interfaceProjectDescriptionRenderer- Parameters:
description- the raw project description- Returns:
- the rendered html to edit the project description
-
getDescriptionI18nKey
Description copied from interface:ProjectDescriptionRendererReturns the i18n key containing the description of the edit field.- Specified by:
getDescriptionI18nKeyin interfaceProjectDescriptionRenderer- Returns:
- the i18n key containing the description of the edit field
-
isUseWikiMarkup
public boolean isUseWikiMarkup()Description copied from interface:ProjectDescriptionRendererIndicates whether the renderer uses wiki markup or not.- Specified by:
isUseWikiMarkupin interfaceProjectDescriptionRenderer- Returns:
- true if the renderer uses wiki markup, false if otherwise
-