|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.project.renderer.ProjectDescriptionRendererImpl
public class ProjectDescriptionRendererImpl
Renders the project description either as wiki markup or returns the plain value (in case HTML is allowed).
Constructor Summary | |
---|---|
ProjectDescriptionRendererImpl(FeatureManager featureManager,
RendererManager rendererManager)
|
Method Summary | |
---|---|
String |
getDescriptionI18nKey()
Returns the i18n key containing the description of the edit field. |
String |
getEditHtml(Project project)
Returns the rendered html to edit the project description. |
String |
getEditHtml(String description)
Returns the rendered html to edit the project description. |
String |
getViewHtml(Project project)
Returns the rendered html to view the project description. |
String |
getViewHtml(String description)
Returns the rendered html to view the project description. |
boolean |
isUseWikiMarkup()
Indicates whether the renderer uses wiki markup or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProjectDescriptionRendererImpl(@Nonnull FeatureManager featureManager, @Nonnull RendererManager rendererManager)
Method Detail |
---|
@Nonnull public String getViewHtml(@Nonnull Project project)
ProjectDescriptionRenderer
getViewHtml
in interface ProjectDescriptionRenderer
project
- the project for which the description should be returned; not null
@Nonnull public String getEditHtml(@Nonnull Project project)
ProjectDescriptionRenderer
getEditHtml
in interface ProjectDescriptionRenderer
project
- the project which is going to be edited; not null
@Nonnull public String getViewHtml(@Nonnull String description)
ProjectDescriptionRenderer
getViewHtml
in interface ProjectDescriptionRenderer
description
- the raw project description
@Nonnull public String getEditHtml(@Nonnull String description)
ProjectDescriptionRenderer
getEditHtml
in interface ProjectDescriptionRenderer
description
- the raw project description
@Nonnull public String getDescriptionI18nKey()
ProjectDescriptionRenderer
getDescriptionI18nKey
in interface ProjectDescriptionRenderer
public boolean isUseWikiMarkup()
ProjectDescriptionRenderer
isUseWikiMarkup
in interface ProjectDescriptionRenderer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |