Class IsMailServerConfiguredCondition

  • All Implemented Interfaces:
    com.atlassian.plugin.web.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 Detail

      • IsMailServerConfiguredCondition

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

      • 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