com.atlassian.jira.plugins.mail
Class ServiceConfiguration

java.lang.Object
  extended by com.atlassian.jira.plugins.mail.ServiceConfiguration

public class ServiceConfiguration
extends Object


Field Summary
static String ID
           
 
Constructor Summary
ServiceConfiguration()
           
 
Method Summary
 long getDelay()
           
 String getFolder()
           
 String getHandlerKey()
           
 Long getServerId()
           
 String getServiceClass()
           
 Long getServiceId()
           
 String getServiceName()
           
 void setDelay(long delay)
           
 void setFolder(String folder)
           
 void setHandlerKey(String handler)
           
 void setServerId(Long serverId)
           
 void setServiceId(Long serviceId)
           
 void setServiceName(String serviceName)
           
 Map<String,String> toMap(com.atlassian.plugin.PluginAccessor pa)
           
 Map<String,String[]> toServiceParams(com.atlassian.plugin.PluginAccessor pa)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
Constructor Detail

ServiceConfiguration

public ServiceConfiguration()
Method Detail

getServiceId

@Nullable
public Long getServiceId()

setServiceId

public void setServiceId(@Nullable
                         Long serviceId)

setHandlerKey

public void setHandlerKey(@Nonnull
                          String handler)

getHandlerKey

@Nonnull
public String getHandlerKey()

getServiceName

@Nonnull
public String getServiceName()

setServiceName

public void setServiceName(@Nonnull
                           String serviceName)

getDelay

public long getDelay()

setDelay

public void setDelay(long delay)

setFolder

public void setFolder(@Nullable
                      String folder)

getFolder

@Nullable
public String getFolder()

setServerId

public void setServerId(@Nullable
                        Long serverId)

getServerId

@Nullable
public Long getServerId()
Returns:
server id or null in case of file server

toServiceParams

@Nonnull
public Map<String,String[]> toServiceParams(@Nonnull
                                                    com.atlassian.plugin.PluginAccessor pa)
                                     throws com.atlassian.mail.MailException
Throws:
com.atlassian.mail.MailException

toMap

@Nonnull
public Map<String,String> toMap(@Nonnull
                                        com.atlassian.plugin.PluginAccessor pa)
                         throws com.atlassian.mail.MailException
Throws:
com.atlassian.mail.MailException

getServiceClass

@Nonnull
public String getServiceClass()


Copyright © 2002-2012 Atlassian. All Rights Reserved.