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
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionEmailConfigurationXml(File pentahoXmlFile) protectedEmailConfigurationXml(org.dom4j.Document doc) Protected empty constructor for testing and subclasses -
Method Summary
Modifier and TypeMethodDescriptionorg.dom4j.Documentstatic org.dom4j.DocumentgetDocument(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 Details
-
EmailConfigurationXml
- Throws:
Exception
-
EmailConfigurationXml
- Throws:
IOExceptionorg.dom4j.DocumentException
-
EmailConfigurationXml
public EmailConfigurationXml(String xml) throws org.dom4j.DocumentException, org.pentaho.platform.api.util.XmlParseException - Throws:
org.dom4j.DocumentExceptionorg.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
-
-
Method Details
-
getDocument
public org.dom4j.Document getDocument() -
getDocument
public static org.dom4j.Document getDocument(org.pentaho.platform.api.email.IEmailConfiguration emailConfiguration)
-