Class FullHtmlProjectDescriptionRenderer
java.lang.Object
com.atlassian.jira.project.renderer.FullHtmlProjectDescriptionRenderer
- All Implemented Interfaces:
ProjectDescriptionRenderer
public class FullHtmlProjectDescriptionRenderer
extends Object
implements ProjectDescriptionRenderer
-
Constructor Summary
-
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.boolean
Indicates whether the renderer uses wiki markup or not.
-
Constructor Details
-
FullHtmlProjectDescriptionRenderer
public FullHtmlProjectDescriptionRenderer()
-
-
Method Details
-
getViewHtml
Description copied from interface:ProjectDescriptionRenderer
Returns the rendered html to view the project description.- Specified by:
getViewHtml
in 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:ProjectDescriptionRenderer
Returns the rendered html to edit the project description.- Specified by:
getEditHtml
in 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:ProjectDescriptionRenderer
Returns the rendered html to view the project description.- Specified by:
getViewHtml
in 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:ProjectDescriptionRenderer
Returns the rendered html to edit the project description.- Specified by:
getEditHtml
in interfaceProjectDescriptionRenderer
- Parameters:
description
- the raw project description- Returns:
- the rendered html to edit the project description
-
getDescriptionI18nKey
Description copied from interface:ProjectDescriptionRenderer
Returns the i18n key containing the description of the edit field.- Specified by:
getDescriptionI18nKey
in interfaceProjectDescriptionRenderer
- 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 interfaceProjectDescriptionRenderer
- Returns:
- true if the renderer uses wiki markup, false if otherwise
-