Package org.alfresco.email.dsl
Class JmxUtil
java.lang.Object
org.alfresco.email.dsl.JmxUtil
DSL for interacting with JMX (using direct JMX call see
JmxClient or JmxJolokiaProxyClient-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJmxUtil(org.alfresco.utility.dsl.DSLProtocol<?> protocol, org.alfresco.utility.network.Jmx jmx) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidintintintlongbooleanintintbooleanvoidupdateImapFromDefaultAddress(String newFrom) voidupdateImapServerPort(int newPort) voidupdateImapsServerPort(int newPort) voidupdateImapToDefaultAddress(String newTo) voidupdateMailEncoding(String newEncoding) voidupdateMailFromDefault(String newFromDefault) voidupdateMailHost(String newHost) voidupdateMailPassword(String newPassword) voidupdateMailPort(int newPort) voidupdateMailPort(String newPort) voidupdateMailProtocol(String newProtocol) voidupdateMailTestMessageSubject(String newSubject) voidupdateMailTestMessageText(String newText) voidupdateMailTestMessageTo(String newTo) voidupdateMailTimeout(long newTimeout) voidupdateMailUsername(String newUsername) voidupdateSmtpAllowedSenders(String... newAllowedSenders) voidupdateSmtpBlockedSenders(String... newBlockedSenders) voidupdateSmtpEmailAuthenticationGroup(String newEmailContributorsAuthority) voidupdateSmtpEmailServerDomain(String newDomain) voidupdateSmtpMaximumServerConnections(int newConnectionsNumber) voidupdateSmtpServerPort(int newPort) voidupdateSmtpServerPort(String newPort) voidupdateSmtpUnknownUser(String newUnknownUser)
-
Field Details
-
jmx
protected org.alfresco.utility.network.Jmx jmx -
INBOUND_SMTP_CONFIG
-
OUTBOUND_SMTP_CONFIG
-
IMAP_CONFIG
-
-
Constructor Details
-
JmxUtil
public JmxUtil(org.alfresco.utility.dsl.DSLProtocol<?> protocol, org.alfresco.utility.network.Jmx jmx)
-
-
Method Details
-
getSmtpServerConfigurationStatus
- Throws:
Exception
-
enableSmtpEmailServer
- Throws:
Exception
-
disableSmtpEmailServer
- Throws:
Exception
-
enableSmtpAuthentication
- Throws:
Exception
-
disableSmtpAuthentication
- Throws:
Exception
-
getSmtpAuthenticationConfigurationStatus
- Throws:
Exception
-
updateSmtpServerPort
- Throws:
Exception
-
updateSmtpServerPort
- Throws:
Exception
-
getSmtpServerPort
- Throws:
Exception
-
updateSmtpUnknownUser
- Throws:
Exception
-
getSmtpUnknownUser
- Throws:
Exception
-
enableSmtpOverwriteDuplicates
- Throws:
Exception
-
disableSmtpOverwriteDuplicates
- Throws:
Exception
-
getSmtpOverwriteDuplicates
- Throws:
Exception
-
updateSmtpMaximumServerConnections
- Throws:
Exception
-
getSmtpMaximumServerConnections
- Throws:
Exception
-
updateSmtpAllowedSenders
- Throws:
Exception
-
getSmtpAllowedSenders
- Throws:
Exception
-
updateSmtpBlockedSenders
- Throws:
Exception
-
getSmtpBlockedSenders
- Throws:
Exception
-
updateSmtpEmailAuthenticationGroup
public void updateSmtpEmailAuthenticationGroup(String newEmailContributorsAuthority) throws Exception - Throws:
Exception
-
getSmtpEmailAuthenticationGroup
- Throws:
Exception
-
updateSmtpEmailServerDomain
- Throws:
Exception
-
getSmtpEmailServerDomain
- Throws:
Exception
-
enableSmtpTls
- Throws:
Exception
-
disableSmtpTls
- Throws:
Exception
-
getSmtpTlsConfigurationStatus
- Throws:
Exception
-
enableSmtpTlsHidden
- Throws:
Exception
-
disableSmtpTlsHidden
- Throws:
Exception
-
getSmtpTlsHiddenConfigurationStatus
- Throws:
Exception
-
enableSmtpRequireTls
- Throws:
Exception
-
disableSmtpRequireTls
- Throws:
Exception
-
getSmtpRequireTlsConfigurationStatus
- Throws:
Exception
-
getImapProtocolConfigurationStatus
- Throws:
Exception
-
getImapServerConfigurationStatus
- Throws:
Exception
-
enableImapServer
- Throws:
Exception
-
disableImapServer
- Throws:
Exception
-
enableImapProtocol
- Throws:
Exception
-
disableImapProtocol
- Throws:
Exception
-
updateImapServerPort
- Throws:
Exception
-
getImapServerPort
- Throws:
Exception
-
getImapsServerConfigurationStatus
- Throws:
Exception
-
enableImapsServer
- Throws:
Exception
-
disableImapsServer
- Throws:
Exception
-
updateImapsServerPort
- Throws:
Exception
-
getImapsServerPort
- Throws:
Exception
-
updateImapFromDefaultAddress
- Throws:
Exception
-
getImapFromDefaultAddress
- Throws:
Exception
-
updateImapToDefaultAddress
- Throws:
Exception
-
getImapToDefaultAddress
- Throws:
Exception
-
getMailEncoding
- Throws:
Exception
-
updateMailEncoding
- Throws:
Exception
-
getMailFromDefault
- Throws:
Exception
-
updateMailFromDefault
- Throws:
Exception
-
getMailFromConfigurationStatus
- Throws:
Exception
-
enableMailFrom
- Throws:
Exception
-
disableMailFrom
- Throws:
Exception
-
getMailHost
- Throws:
Exception
-
updateMailHost
- Throws:
Exception
-
getMailPassword
- Throws:
Exception
-
updateMailPassword
- Throws:
Exception
-
getMailPort
- Throws:
Exception
-
updateMailPort
- Throws:
Exception
-
updateMailPort
- Throws:
Exception
-
getMailProtocol
- Throws:
Exception
-
updateMailProtocol
- Throws:
Exception
-
getMailSMTPAuthConfigurationStatus
- Throws:
Exception
-
enableMailSMTPAuth
- Throws:
Exception
-
disableMailSMTPAuth
- Throws:
Exception
-
getMailDebugConfigurationStatus
- Throws:
Exception
-
enableMailDebug
- Throws:
Exception
-
disableMailDebug
- Throws:
Exception
-
getMailSMTPStartTTLSConfigurationStatus
- Throws:
Exception
-
enableMailSMTPStartTTLS
- Throws:
Exception
-
disableMailSMTPStartTTLS
- Throws:
Exception
-
getMailTimeout
- Throws:
Exception
-
updateMailTimeout
- Throws:
Exception
-
getMailSMTPSAuthConfigurationStatus
- Throws:
Exception
-
enableMailSMTPSAuth
- Throws:
Exception
-
disableMailSMTPSAuth
- Throws:
Exception
-
getMailSMTPSStartTTLSConfigurationStatus
- Throws:
Exception
-
enableMailSMTPSStartTTLS
- Throws:
Exception
-
disableMailSMTPSStartTTLS
- Throws:
Exception
-
getMailTestMessageSendConfigurationStatus
- Throws:
Exception
-
enableMailTestMessageSend
- Throws:
Exception
-
disableMailTestMessageSend
- Throws:
Exception
-
getMailTestMessageSubject
- Throws:
Exception
-
updateMailTestMessageSubject
- Throws:
Exception
-
getMailTestMessageText
- Throws:
Exception
-
updateMailTestMessageText
- Throws:
Exception
-
getMailTestMessageTo
- Throws:
Exception
-
updateMailTestMessageTo
- Throws:
Exception
-
getMailUsername
- Throws:
Exception
-
updateMailUsername
- Throws:
Exception
-
getSystemUsagesConfigurationStatus
- Throws:
Exception
-
getNotificationEmailSiteInviteConfigurationStatus
- Throws:
Exception
-