org.sonar.api.config
Class EmailSettings

java.lang.Object
  extended by org.sonar.api.config.EmailSettings
All Implemented Interfaces:
BatchComponent, ServerComponent

public class EmailSettings
extends Object
implements BatchComponent, ServerComponent

If batch extensions use this component, then batch must be executed with administrator rights (see properties sonar.login and sonar.password)

Since:
3.2

Field Summary
static String FROM
           
static String FROM_DEFAULT
           
static String PREFIX
           
static String PREFIX_DEFAULT
           
static String SMTP_HOST
           
static String SMTP_HOST_DEFAULT
           
static String SMTP_PASSWORD
           
static String SMTP_PASSWORD_DEFAULT
           
static String SMTP_PORT
           
static String SMTP_PORT_DEFAULT
           
static String SMTP_SECURE_CONNECTION
           
static String SMTP_SECURE_CONNECTION_DEFAULT
           
static String SMTP_USERNAME
           
static String SMTP_USERNAME_DEFAULT
           
 
Constructor Summary
EmailSettings(Settings settings)
           
 
Method Summary
 String getFrom()
           
 String getPrefix()
           
 String getSecureConnection()
           
 String getServerBaseURL()
           
 String getSmtpHost()
           
 String getSmtpPassword()
           
 int getSmtpPort()
           
 String getSmtpUsername()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SMTP_HOST

public static final String SMTP_HOST
See Also:
Constant Field Values

SMTP_HOST_DEFAULT

public static final String SMTP_HOST_DEFAULT
See Also:
Constant Field Values

SMTP_PORT

public static final String SMTP_PORT
See Also:
Constant Field Values

SMTP_PORT_DEFAULT

public static final String SMTP_PORT_DEFAULT
See Also:
Constant Field Values

SMTP_SECURE_CONNECTION

public static final String SMTP_SECURE_CONNECTION
See Also:
Constant Field Values

SMTP_SECURE_CONNECTION_DEFAULT

public static final String SMTP_SECURE_CONNECTION_DEFAULT
See Also:
Constant Field Values

SMTP_USERNAME

public static final String SMTP_USERNAME
See Also:
Constant Field Values

SMTP_USERNAME_DEFAULT

public static final String SMTP_USERNAME_DEFAULT
See Also:
Constant Field Values

SMTP_PASSWORD

public static final String SMTP_PASSWORD
See Also:
Constant Field Values

SMTP_PASSWORD_DEFAULT

public static final String SMTP_PASSWORD_DEFAULT
See Also:
Constant Field Values

FROM

public static final String FROM
See Also:
Constant Field Values

FROM_DEFAULT

public static final String FROM_DEFAULT
See Also:
Constant Field Values

PREFIX

public static final String PREFIX
See Also:
Constant Field Values

PREFIX_DEFAULT

public static final String PREFIX_DEFAULT
See Also:
Constant Field Values
Constructor Detail

EmailSettings

public EmailSettings(Settings settings)
Method Detail

getSmtpHost

public String getSmtpHost()

getSmtpPort

public int getSmtpPort()

getSecureConnection

public String getSecureConnection()

getSmtpUsername

public String getSmtpUsername()

getSmtpPassword

public String getSmtpPassword()

getFrom

public String getFrom()

getPrefix

public String getPrefix()

getServerBaseURL

public String getServerBaseURL()


Copyright © 2009–2014 SonarSource. All rights reserved.