Class UrlReadingRichTextEnabledCondition

java.lang.Object
com.atlassian.webresource.spi.condition.AbstractBooleanUrlReadingCondition
com.atlassian.jira.plugin.editor.condition.UrlReadingRichTextEnabledCondition
All Implemented Interfaces:
com.atlassian.webresource.spi.condition.UrlReadingCondition

public class UrlReadingRichTextEnabledCondition extends com.atlassian.webresource.spi.condition.AbstractBooleanUrlReadingCondition
Condition to define whether rich text editor is enabled.

Contract:

  • Works for the supported JIRA Server versions without any Dark Feature flags.
  • Application property "APKeys.JIRA_OPTION_RTE_ENABLED" have to be turned on.
See Also:
  • for the implementation details.
  • Constructor Details

    • UrlReadingRichTextEnabledCondition

      public UrlReadingRichTextEnabledCondition(RteEnabledService rteEnabledService)
  • Method Details

    • isConditionTrue

      protected boolean isConditionTrue()
      Specified by:
      isConditionTrue in class com.atlassian.webresource.spi.condition.AbstractBooleanUrlReadingCondition
    • queryKey

      protected String queryKey()
      Specified by:
      queryKey in class com.atlassian.webresource.spi.condition.AbstractBooleanUrlReadingCondition