Class RenderablePropertyImpl

java.lang.Object
com.atlassian.jira.admin.RenderablePropertyImpl
All Implemented Interfaces:
RenderableProperty

@Internal public final class RenderablePropertyImpl extends Object implements RenderableProperty
Default implementation of RenderableProperty whose behaviour is driven by the APKeys.JIRA_OPTION_HTML_IN_CUSTOM_FIELDS_ENABLED flag.
Since:
v5.0.7
  • Method Details

    • getViewHtml

      public final String getViewHtml()
      Returns the view HTML for this renderable application property.
      Specified by:
      getViewHtml in interface RenderableProperty
      Returns:
      a String containing the view HTML
    • getEditHtml

      public final String getEditHtml(String fieldName)
      Returns the edit HTML for this renderable application property.
      Specified by:
      getEditHtml in interface RenderableProperty
      Parameters:
      fieldName - the field name to use in the generated HTML
      Returns:
      a String containing the edit HTML
    • getDescriptionHtml

      public final String getDescriptionHtml()
      Returns the description HTML for this property.
      Specified by:
      getDescriptionHtml in interface RenderableProperty
      Returns:
      a String containing the description HTML
    • getValue

      public final String getValue()
      Returns the property value in raw format.
      Returns:
      the property value in raw format
    • setValue

      public final void setValue(String value)
      Sets the property value.
      Parameters:
      value - a String containing the property value
    • isHtmlDisabled

      protected final boolean isHtmlDisabled()