Class BooleanSystemPropertyCondition

java.lang.Object
com.atlassian.jira.plugin.webfragment.conditions.BooleanSystemPropertyCondition
All Implemented Interfaces:
com.atlassian.plugin.web.api.baseconditions.BaseCondition, com.atlassian.plugin.web.Condition

public final class BooleanSystemPropertyCondition extends Object implements com.atlassian.plugin.web.Condition
A condition which is true if the configured system property is set and has case insensitive value "true".
Since:
v5.1
  • Constructor Details

    • BooleanSystemPropertyCondition

      public BooleanSystemPropertyCondition()
      Deprecated.
  • Method Details

    • init

      public void init(Map<String,String> params) throws com.atlassian.plugin.PluginParseException
      Deprecated.
      Specified by:
      init in interface com.atlassian.plugin.web.Condition
      Throws:
      com.atlassian.plugin.PluginParseException
    • shouldDisplay

      public boolean shouldDisplay(Map<String,Object> context)
      Deprecated.
      Specified by:
      shouldDisplay in interface com.atlassian.plugin.web.Condition