Class IsApplicationPropertySetCondition

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

public class IsApplicationPropertySetCondition extends Object implements com.atlassian.plugin.web.Condition
Condition to see if a system property option is set to true. Property is defined by the "property" param.
Since:
v4.4
  • Constructor Details

    • IsApplicationPropertySetCondition

      public IsApplicationPropertySetCondition(ApplicationProperties applicationProperties)
  • Method Details

    • init

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

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