Class EmailConfiguration

java.lang.Object
org.pentaho.platform.plugin.services.email.EmailConfiguration
All Implemented Interfaces:
Serializable, org.pentaho.platform.api.email.IEmailConfiguration
Direct Known Subclasses:
EmailConfigurationXml

public class EmailConfiguration extends Object implements Serializable, org.pentaho.platform.api.email.IEmailConfiguration
Bean which contains all the information for the email configuration
Author:
David M. Kincade
See Also:
  • Constructor Details

    • EmailConfiguration

      public EmailConfiguration()
    • EmailConfiguration

      public EmailConfiguration(boolean authenticate, boolean debug, String defaultFrom, String fromName, String smtpHost, Integer smtpPort, String smtpProtocol, boolean smtpQuitWait, String userId, String password, boolean useSsl, boolean useStartTls)
  • Method Details

    • isAuthenticate

      public boolean isAuthenticate()
      Specified by:
      isAuthenticate in interface org.pentaho.platform.api.email.IEmailConfiguration
    • setAuthenticate

      public void setAuthenticate(boolean authenticate)
      Specified by:
      setAuthenticate in interface org.pentaho.platform.api.email.IEmailConfiguration
    • isDebug

      public boolean isDebug()
      Specified by:
      isDebug in interface org.pentaho.platform.api.email.IEmailConfiguration
    • setDebug

      public void setDebug(boolean debug)
      Specified by:
      setDebug in interface org.pentaho.platform.api.email.IEmailConfiguration
    • getDefaultFrom

      public String getDefaultFrom()
      Specified by:
      getDefaultFrom in interface org.pentaho.platform.api.email.IEmailConfiguration
    • setDefaultFrom

      public void setDefaultFrom(String defaultFrom)
      Specified by:
      setDefaultFrom in interface org.pentaho.platform.api.email.IEmailConfiguration
    • getFromName

      public String getFromName()
      Specified by:
      getFromName in interface org.pentaho.platform.api.email.IEmailConfiguration
    • setFromName

      public void setFromName(String fromName)
      Specified by:
      setFromName in interface org.pentaho.platform.api.email.IEmailConfiguration
    • getSmtpHost

      public String getSmtpHost()
      Specified by:
      getSmtpHost in interface org.pentaho.platform.api.email.IEmailConfiguration
    • setSmtpHost

      public void setSmtpHost(String smtpHost)
      Specified by:
      setSmtpHost in interface org.pentaho.platform.api.email.IEmailConfiguration
    • getSmtpPort

      public Integer getSmtpPort()
      Specified by:
      getSmtpPort in interface org.pentaho.platform.api.email.IEmailConfiguration
    • setSmtpPort

      public void setSmtpPort(Integer smtpPort)
      Specified by:
      setSmtpPort in interface org.pentaho.platform.api.email.IEmailConfiguration
    • getSmtpProtocol

      public String getSmtpProtocol()
      Specified by:
      getSmtpProtocol in interface org.pentaho.platform.api.email.IEmailConfiguration
    • setSmtpProtocol

      public void setSmtpProtocol(String smtpProtocol)
      Specified by:
      setSmtpProtocol in interface org.pentaho.platform.api.email.IEmailConfiguration
    • getUserId

      public String getUserId()
      Specified by:
      getUserId in interface org.pentaho.platform.api.email.IEmailConfiguration
    • setUserId

      public void setUserId(String userId)
      Specified by:
      setUserId in interface org.pentaho.platform.api.email.IEmailConfiguration
    • getPassword

      public String getPassword()
      Specified by:
      getPassword in interface org.pentaho.platform.api.email.IEmailConfiguration
    • setPassword

      public void setPassword(String password)
      Specified by:
      setPassword in interface org.pentaho.platform.api.email.IEmailConfiguration
    • isUseSsl

      public boolean isUseSsl()
      Specified by:
      isUseSsl in interface org.pentaho.platform.api.email.IEmailConfiguration
    • setUseSsl

      public void setUseSsl(boolean useSsl)
      Specified by:
      setUseSsl in interface org.pentaho.platform.api.email.IEmailConfiguration
    • isUseStartTls

      public boolean isUseStartTls()
      Specified by:
      isUseStartTls in interface org.pentaho.platform.api.email.IEmailConfiguration
    • setUseStartTls

      public void setUseStartTls(boolean useStartTls)
      Specified by:
      setUseStartTls in interface org.pentaho.platform.api.email.IEmailConfiguration
    • isSmtpQuitWait

      public boolean isSmtpQuitWait()
      Specified by:
      isSmtpQuitWait in interface org.pentaho.platform.api.email.IEmailConfiguration
    • setSmtpQuitWait

      public void setSmtpQuitWait(boolean smtpQuitWait)
      Specified by:
      setSmtpQuitWait in interface org.pentaho.platform.api.email.IEmailConfiguration
    • getAuthMechanism

      public String getAuthMechanism()
      Specified by:
      getAuthMechanism in interface org.pentaho.platform.api.email.IEmailConfiguration
    • setAuthMechanism

      public void setAuthMechanism(String authMechanism)
      Specified by:
      setAuthMechanism in interface org.pentaho.platform.api.email.IEmailConfiguration
    • getClientId

      public String getClientId()
      Specified by:
      getClientId in interface org.pentaho.platform.api.email.IEmailConfiguration
    • setClientId

      public void setClientId(String clientId)
      Specified by:
      setClientId in interface org.pentaho.platform.api.email.IEmailConfiguration
    • getClientSecret

      public String getClientSecret()
      Specified by:
      getClientSecret in interface org.pentaho.platform.api.email.IEmailConfiguration
    • setClientSecret

      public void setClientSecret(String clientSecret)
      Specified by:
      setClientSecret in interface org.pentaho.platform.api.email.IEmailConfiguration
    • getTokenUrl

      public String getTokenUrl()
      Specified by:
      getTokenUrl in interface org.pentaho.platform.api.email.IEmailConfiguration
    • setTokenUrl

      public void setTokenUrl(String tokenUrl)
      Specified by:
      setTokenUrl in interface org.pentaho.platform.api.email.IEmailConfiguration
    • getScope

      public String getScope()
      Specified by:
      getScope in interface org.pentaho.platform.api.email.IEmailConfiguration
    • setScope

      public void setScope(String scope)
      Specified by:
      setScope in interface org.pentaho.platform.api.email.IEmailConfiguration
    • getGrantType

      public String getGrantType()
      Specified by:
      getGrantType in interface org.pentaho.platform.api.email.IEmailConfiguration
    • setGrantType

      public void setGrantType(String grantType)
      Specified by:
      setGrantType in interface org.pentaho.platform.api.email.IEmailConfiguration
    • getRefreshToken

      public String getRefreshToken()
      Specified by:
      getRefreshToken in interface org.pentaho.platform.api.email.IEmailConfiguration
    • setRefreshToken

      public void setRefreshToken(String refreshToken)
      Specified by:
      setRefreshToken in interface org.pentaho.platform.api.email.IEmailConfiguration
    • getAuthorizationCode

      public String getAuthorizationCode()
      Specified by:
      getAuthorizationCode in interface org.pentaho.platform.api.email.IEmailConfiguration
    • setAuthorizationCode

      public void setAuthorizationCode(String authorizationCode)
      Specified by:
      setAuthorizationCode in interface org.pentaho.platform.api.email.IEmailConfiguration
    • getRedirectUri

      public String getRedirectUri()
      Specified by:
      getRedirectUri in interface org.pentaho.platform.api.email.IEmailConfiguration
    • setRedirectUri

      public void setRedirectUri(String redirectUri)
      Specified by:
      setRedirectUri in interface org.pentaho.platform.api.email.IEmailConfiguration
    • asProperties

      public Properties asProperties()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object