com.atlassian.confluence.plugin.descriptor.web.conditions
Class IsMailServerConfiguredCondition

java.lang.Object
  extended by com.atlassian.confluence.plugin.descriptor.web.conditions.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 Summary
IsMailServerConfiguredCondition(com.atlassian.mail.server.MailServerManager mailServerManager)
           
 
Method Summary
 void init(Map<String,String> stringStringMap)
           
 boolean shouldDisplay(Map<String,Object> stringObjectMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2003–2015 Atlassian. All rights reserved.