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 Summary
ConstructorDescriptionIsMailServerConfiguredCondition
(com.atlassian.mail.server.MailServerManager mailServerManager) -
Method Summary
-
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 interfacecom.atlassian.plugin.web.Condition
- Throws:
com.atlassian.plugin.PluginParseException
-
shouldDisplay
- Specified by:
shouldDisplay
in interfacecom.atlassian.plugin.web.Condition
-