Class IsMailServerConfiguredCondition

java.lang.Object
com.atlassian.confluence.plugin.descriptor.web.conditions.IsMailServerConfiguredCondition
All Implemented Interfaces:
com.atlassian.plugin.web.api.baseconditions.BaseCondition, com.atlassian.plugin.web.Condition

public class IsMailServerConfiguredCondition extends Object implements com.atlassian.plugin.web.Condition
Defines a condition for Web UI modules being shown if a mail server is defined. Note that it just checks if the mail server is configured, not if it's configured properly.
Since:
5.2
  • Constructor Details

    • IsMailServerConfiguredCondition

      public IsMailServerConfiguredCondition(com.atlassian.mail.server.MailServerManager mailServerManager)
  • Method Details

    • init

      public void init(Map<String,String> stringStringMap) 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> stringObjectMap)
      Specified by:
      shouldDisplay in interface com.atlassian.plugin.web.Condition