Class EmailConfigurationXml
- java.lang.Object
-
- org.pentaho.platform.plugin.services.email.EmailConfiguration
-
- org.pentaho.platform.plugin.services.email.EmailConfigurationXml
-
- All Implemented Interfaces:
Serializable
,org.pentaho.platform.api.email.IEmailConfiguration
public class EmailConfigurationXml extends EmailConfiguration
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description EmailConfigurationXml()
EmailConfigurationXml(File pentahoXmlFile)
EmailConfigurationXml(String xml)
protected
EmailConfigurationXml(org.dom4j.Document doc)
Protected empty constructor for testing and subclasses
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.dom4j.Document
getDocument()
static org.dom4j.Document
getDocument(org.pentaho.platform.api.email.IEmailConfiguration emailConfiguration)
-
Methods inherited from class org.pentaho.platform.plugin.services.email.EmailConfiguration
asProperties, equals, getAuthMechanism, getAuthorizationCode, getClientId, getClientSecret, getDefaultFrom, getFromName, getGrantType, getPassword, getRedirectUri, getRefreshToken, getScope, getSmtpHost, getSmtpPort, getSmtpProtocol, getTokenUrl, getUserId, hashCode, isAuthenticate, isDebug, isSmtpQuitWait, isUseSsl, isUseStartTls, setAuthenticate, setAuthMechanism, setAuthorizationCode, setClientId, setClientSecret, setDebug, setDefaultFrom, setFromName, setGrantType, setPassword, setRedirectUri, setRefreshToken, setScope, setSmtpHost, setSmtpPort, setSmtpProtocol, setSmtpQuitWait, setTokenUrl, setUserId, setUseSsl, setUseStartTls, toString
-
-
-
-
Constructor Detail
-
EmailConfigurationXml
public EmailConfigurationXml(File pentahoXmlFile) throws IOException, org.dom4j.DocumentException
- Throws:
IOException
org.dom4j.DocumentException
-
EmailConfigurationXml
public EmailConfigurationXml(String xml) throws org.dom4j.DocumentException, org.pentaho.platform.api.util.XmlParseException
- Throws:
org.dom4j.DocumentException
org.pentaho.platform.api.util.XmlParseException
-
EmailConfigurationXml
protected EmailConfigurationXml(org.dom4j.Document doc) throws org.dom4j.DocumentException
Protected empty constructor for testing and subclasses- Throws:
org.dom4j.DocumentException
-
-