com.atlassian.jira.plugins.mail
Class ImapServersValuesGenerator

java.lang.Object
  extended by com.atlassian.jira.plugins.mail.ImapServersValuesGenerator
All Implemented Interfaces:
ValuesGenerator
Direct Known Subclasses:
PopServersValuesGenerator

public class ImapServersValuesGenerator
extends Object
implements ValuesGenerator


Field Summary
 
Fields inherited from interface com.atlassian.configurable.ValuesGenerator
NONE
 
Constructor Summary
ImapServersValuesGenerator()
           
 
Method Summary
protected  com.atlassian.mail.server.MailServerManager getMailServerManager()
           
protected  com.google.common.base.Predicate<? super com.atlassian.mail.server.PopMailServer> getPredicate()
           
 Map<String,String> getValues(Map params)
          Map of choices to use
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImapServersValuesGenerator

public ImapServersValuesGenerator()
Method Detail

getValues

public Map<String,String> getValues(Map params)
Description copied from interface: ValuesGenerator
Map of choices to use

Specified by:
getValues in interface ValuesGenerator
Parameters:
params - Used to generate a relevant list of choices. e.g. may have some permissions in it
Returns:
Map which contains a list of choices as key value pairs. Can be null.

getMailServerManager

protected com.atlassian.mail.server.MailServerManager getMailServerManager()

getPredicate

protected com.google.common.base.Predicate<? super com.atlassian.mail.server.PopMailServer> getPredicate()


Copyright © 2002-2012 Atlassian. All Rights Reserved.