Package com.atlassian.jira.admin
Class RenderablePropertyImpl
java.lang.Object
com.atlassian.jira.admin.RenderablePropertyImpl
- All Implemented Interfaces:
RenderableProperty
Default implementation of RenderableProperty whose behaviour is driven by the
APKeys.JIRA_OPTION_HTML_IN_CUSTOM_FIELDS_ENABLED
flag.- Since:
- v5.0.7
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal String
Returns the description HTML for this property.final String
getEditHtml
(String fieldName) Returns the edit HTML for this renderable application property.final String
getValue()
Returns the property value in raw format.final String
Returns the view HTML for this renderable application property.protected final boolean
final void
Sets the property value.
-
Method Details
-
getViewHtml
Returns the view HTML for this renderable application property.- Specified by:
getViewHtml
in interfaceRenderableProperty
- Returns:
- a String containing the view HTML
-
getEditHtml
Returns the edit HTML for this renderable application property.- Specified by:
getEditHtml
in interfaceRenderableProperty
- Parameters:
fieldName
- the field name to use in the generated HTML- Returns:
- a String containing the edit HTML
-
getDescriptionHtml
Returns the description HTML for this property.- Specified by:
getDescriptionHtml
in interfaceRenderableProperty
- Returns:
- a String containing the description HTML
-
getValue
Returns the property value in raw format.- Returns:
- the property value in raw format
-
setValue
Sets the property value.- Parameters:
value
- a String containing the property value
-
isHtmlDisabled
protected final boolean isHtmlDisabled()
-