Package org.alfresco.email.dsl
Class JmxUtil
- java.lang.Object
-
- org.alfresco.email.dsl.JmxUtil
-
public class JmxUtil extends java.lang.ObjectDSL for interacting with JMX (using direct JMX call seeJmxClientorJmxJolokiaProxyClient
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringIMAP_CONFIGprotected static java.lang.StringINBOUND_SMTP_CONFIGprotected org.alfresco.utility.network.Jmxjmxprotected static java.lang.StringOUTBOUND_SMTP_CONFIG
-
Constructor Summary
Constructors Constructor Description JmxUtil(org.alfresco.utility.dsl.DSLProtocol<?> protocol, org.alfresco.utility.network.Jmx jmx)
-
Method Summary
-
-
-
Method Detail
-
getSmtpServerConfigurationStatus
public java.lang.String getSmtpServerConfigurationStatus() throws java.lang.Exception- Throws:
java.lang.Exception
-
enableSmtpEmailServer
public void enableSmtpEmailServer() throws java.lang.Exception- Throws:
java.lang.Exception
-
disableSmtpEmailServer
public void disableSmtpEmailServer() throws java.lang.Exception- Throws:
java.lang.Exception
-
enableSmtpAuthentication
public void enableSmtpAuthentication() throws java.lang.Exception- Throws:
java.lang.Exception
-
disableSmtpAuthentication
public void disableSmtpAuthentication() throws java.lang.Exception- Throws:
java.lang.Exception
-
getSmtpAuthenticationConfigurationStatus
public java.lang.String getSmtpAuthenticationConfigurationStatus() throws java.lang.Exception- Throws:
java.lang.Exception
-
updateSmtpServerPort
public void updateSmtpServerPort(int newPort) throws java.lang.Exception- Throws:
java.lang.Exception
-
updateSmtpServerPort
public void updateSmtpServerPort(java.lang.String newPort) throws java.lang.Exception- Throws:
java.lang.Exception
-
getSmtpServerPort
public int getSmtpServerPort() throws java.lang.Exception- Throws:
java.lang.Exception
-
updateSmtpUnknownUser
public void updateSmtpUnknownUser(java.lang.String newUnknownUser) throws java.lang.Exception- Throws:
java.lang.Exception
-
getSmtpUnknownUser
public java.lang.String getSmtpUnknownUser() throws java.lang.Exception- Throws:
java.lang.Exception
-
enableSmtpOverwriteDuplicates
public void enableSmtpOverwriteDuplicates() throws java.lang.Exception- Throws:
java.lang.Exception
-
disableSmtpOverwriteDuplicates
public void disableSmtpOverwriteDuplicates() throws java.lang.Exception- Throws:
java.lang.Exception
-
getSmtpOverwriteDuplicates
public java.lang.String getSmtpOverwriteDuplicates() throws java.lang.Exception- Throws:
java.lang.Exception
-
updateSmtpMaximumServerConnections
public void updateSmtpMaximumServerConnections(int newConnectionsNumber) throws java.lang.Exception- Throws:
java.lang.Exception
-
getSmtpMaximumServerConnections
public int getSmtpMaximumServerConnections() throws java.lang.Exception- Throws:
java.lang.Exception
-
updateSmtpAllowedSenders
public void updateSmtpAllowedSenders(java.lang.String... newAllowedSenders) throws java.lang.Exception- Throws:
java.lang.Exception
-
getSmtpAllowedSenders
public java.lang.String getSmtpAllowedSenders() throws java.lang.Exception- Throws:
java.lang.Exception
-
updateSmtpBlockedSenders
public void updateSmtpBlockedSenders(java.lang.String... newBlockedSenders) throws java.lang.Exception- Throws:
java.lang.Exception
-
getSmtpBlockedSenders
public java.lang.String getSmtpBlockedSenders() throws java.lang.Exception- Throws:
java.lang.Exception
-
updateSmtpEmailAuthenticationGroup
public void updateSmtpEmailAuthenticationGroup(java.lang.String newEmailContributorsAuthority) throws java.lang.Exception- Throws:
java.lang.Exception
-
getSmtpEmailAuthenticationGroup
public java.lang.String getSmtpEmailAuthenticationGroup() throws java.lang.Exception- Throws:
java.lang.Exception
-
updateSmtpEmailServerDomain
public void updateSmtpEmailServerDomain(java.lang.String newDomain) throws java.lang.Exception- Throws:
java.lang.Exception
-
getSmtpEmailServerDomain
public java.lang.String getSmtpEmailServerDomain() throws java.lang.Exception- Throws:
java.lang.Exception
-
enableSmtpTls
public void enableSmtpTls() throws java.lang.Exception- Throws:
java.lang.Exception
-
disableSmtpTls
public void disableSmtpTls() throws java.lang.Exception- Throws:
java.lang.Exception
-
getSmtpTlsConfigurationStatus
public java.lang.String getSmtpTlsConfigurationStatus() throws java.lang.Exception- Throws:
java.lang.Exception
-
enableSmtpTlsHidden
public void enableSmtpTlsHidden() throws java.lang.Exception- Throws:
java.lang.Exception
-
disableSmtpTlsHidden
public void disableSmtpTlsHidden() throws java.lang.Exception- Throws:
java.lang.Exception
-
getSmtpTlsHiddenConfigurationStatus
public java.lang.String getSmtpTlsHiddenConfigurationStatus() throws java.lang.Exception- Throws:
java.lang.Exception
-
enableSmtpRequireTls
public void enableSmtpRequireTls() throws java.lang.Exception- Throws:
java.lang.Exception
-
disableSmtpRequireTls
public void disableSmtpRequireTls() throws java.lang.Exception- Throws:
java.lang.Exception
-
getSmtpRequireTlsConfigurationStatus
public java.lang.String getSmtpRequireTlsConfigurationStatus() throws java.lang.Exception- Throws:
java.lang.Exception
-
getImapProtocolConfigurationStatus
public java.lang.String getImapProtocolConfigurationStatus() throws java.lang.Exception- Throws:
java.lang.Exception
-
getImapServerConfigurationStatus
public java.lang.String getImapServerConfigurationStatus() throws java.lang.Exception- Throws:
java.lang.Exception
-
enableImapServer
public void enableImapServer() throws java.lang.Exception- Throws:
java.lang.Exception
-
disableImapServer
public void disableImapServer() throws java.lang.Exception- Throws:
java.lang.Exception
-
enableImapProtocol
public void enableImapProtocol() throws java.lang.Exception- Throws:
java.lang.Exception
-
disableImapProtocol
public void disableImapProtocol() throws java.lang.Exception- Throws:
java.lang.Exception
-
updateImapServerPort
public void updateImapServerPort(int newPort) throws java.lang.Exception- Throws:
java.lang.Exception
-
getImapServerPort
public int getImapServerPort() throws java.lang.Exception- Throws:
java.lang.Exception
-
getImapsServerConfigurationStatus
public java.lang.String getImapsServerConfigurationStatus() throws java.lang.Exception- Throws:
java.lang.Exception
-
enableImapsServer
public void enableImapsServer() throws java.lang.Exception- Throws:
java.lang.Exception
-
disableImapsServer
public void disableImapsServer() throws java.lang.Exception- Throws:
java.lang.Exception
-
updateImapsServerPort
public void updateImapsServerPort(int newPort) throws java.lang.Exception- Throws:
java.lang.Exception
-
getImapsServerPort
public int getImapsServerPort() throws java.lang.Exception- Throws:
java.lang.Exception
-
updateImapFromDefaultAddress
public void updateImapFromDefaultAddress(java.lang.String newFrom) throws java.lang.Exception- Throws:
java.lang.Exception
-
getImapFromDefaultAddress
public java.lang.String getImapFromDefaultAddress() throws java.lang.Exception- Throws:
java.lang.Exception
-
updateImapToDefaultAddress
public void updateImapToDefaultAddress(java.lang.String newTo) throws java.lang.Exception- Throws:
java.lang.Exception
-
getImapToDefaultAddress
public java.lang.String getImapToDefaultAddress() throws java.lang.Exception- Throws:
java.lang.Exception
-
getMailEncoding
public java.lang.String getMailEncoding() throws java.lang.Exception- Throws:
java.lang.Exception
-
updateMailEncoding
public void updateMailEncoding(java.lang.String newEncoding) throws java.lang.Exception- Throws:
java.lang.Exception
-
getMailFromDefault
public java.lang.String getMailFromDefault() throws java.lang.Exception- Throws:
java.lang.Exception
-
updateMailFromDefault
public void updateMailFromDefault(java.lang.String newFromDefault) throws java.lang.Exception- Throws:
java.lang.Exception
-
getMailFromConfigurationStatus
public java.lang.String getMailFromConfigurationStatus() throws java.lang.Exception- Throws:
java.lang.Exception
-
enableMailFrom
public void enableMailFrom() throws java.lang.Exception- Throws:
java.lang.Exception
-
disableMailFrom
public void disableMailFrom() throws java.lang.Exception- Throws:
java.lang.Exception
-
getMailHost
public java.lang.String getMailHost() throws java.lang.Exception- Throws:
java.lang.Exception
-
updateMailHost
public void updateMailHost(java.lang.String newHost) throws java.lang.Exception- Throws:
java.lang.Exception
-
getMailPassword
public java.lang.String getMailPassword() throws java.lang.Exception- Throws:
java.lang.Exception
-
updateMailPassword
public void updateMailPassword(java.lang.String newPassword) throws java.lang.Exception- Throws:
java.lang.Exception
-
getMailPort
public int getMailPort() throws java.lang.Exception- Throws:
java.lang.Exception
-
updateMailPort
public void updateMailPort(int newPort) throws java.lang.Exception- Throws:
java.lang.Exception
-
updateMailPort
public void updateMailPort(java.lang.String newPort) throws java.lang.Exception- Throws:
java.lang.Exception
-
getMailProtocol
public java.lang.String getMailProtocol() throws java.lang.Exception- Throws:
java.lang.Exception
-
updateMailProtocol
public void updateMailProtocol(java.lang.String newProtocol) throws java.lang.Exception- Throws:
java.lang.Exception
-
getMailSMTPAuthConfigurationStatus
public java.lang.String getMailSMTPAuthConfigurationStatus() throws java.lang.Exception- Throws:
java.lang.Exception
-
enableMailSMTPAuth
public void enableMailSMTPAuth() throws java.lang.Exception- Throws:
java.lang.Exception
-
disableMailSMTPAuth
public void disableMailSMTPAuth() throws java.lang.Exception- Throws:
java.lang.Exception
-
getMailDebugConfigurationStatus
public java.lang.String getMailDebugConfigurationStatus() throws java.lang.Exception- Throws:
java.lang.Exception
-
enableMailDebug
public void enableMailDebug() throws java.lang.Exception- Throws:
java.lang.Exception
-
disableMailDebug
public void disableMailDebug() throws java.lang.Exception- Throws:
java.lang.Exception
-
getMailSMTPStartTTLSConfigurationStatus
public java.lang.String getMailSMTPStartTTLSConfigurationStatus() throws java.lang.Exception- Throws:
java.lang.Exception
-
enableMailSMTPStartTTLS
public void enableMailSMTPStartTTLS() throws java.lang.Exception- Throws:
java.lang.Exception
-
disableMailSMTPStartTTLS
public void disableMailSMTPStartTTLS() throws java.lang.Exception- Throws:
java.lang.Exception
-
getMailTimeout
public long getMailTimeout() throws java.lang.Exception- Throws:
java.lang.Exception
-
updateMailTimeout
public void updateMailTimeout(long newTimeout) throws java.lang.Exception- Throws:
java.lang.Exception
-
getMailSMTPSAuthConfigurationStatus
public java.lang.String getMailSMTPSAuthConfigurationStatus() throws java.lang.Exception- Throws:
java.lang.Exception
-
enableMailSMTPSAuth
public void enableMailSMTPSAuth() throws java.lang.Exception- Throws:
java.lang.Exception
-
disableMailSMTPSAuth
public void disableMailSMTPSAuth() throws java.lang.Exception- Throws:
java.lang.Exception
-
getMailSMTPSStartTTLSConfigurationStatus
public java.lang.String getMailSMTPSStartTTLSConfigurationStatus() throws java.lang.Exception- Throws:
java.lang.Exception
-
enableMailSMTPSStartTTLS
public void enableMailSMTPSStartTTLS() throws java.lang.Exception- Throws:
java.lang.Exception
-
disableMailSMTPSStartTTLS
public void disableMailSMTPSStartTTLS() throws java.lang.Exception- Throws:
java.lang.Exception
-
getMailTestMessageSendConfigurationStatus
public java.lang.String getMailTestMessageSendConfigurationStatus() throws java.lang.Exception- Throws:
java.lang.Exception
-
enableMailTestMessageSend
public void enableMailTestMessageSend() throws java.lang.Exception- Throws:
java.lang.Exception
-
disableMailTestMessageSend
public void disableMailTestMessageSend() throws java.lang.Exception- Throws:
java.lang.Exception
-
getMailTestMessageSubject
public java.lang.String getMailTestMessageSubject() throws java.lang.Exception- Throws:
java.lang.Exception
-
updateMailTestMessageSubject
public void updateMailTestMessageSubject(java.lang.String newSubject) throws java.lang.Exception- Throws:
java.lang.Exception
-
getMailTestMessageText
public java.lang.String getMailTestMessageText() throws java.lang.Exception- Throws:
java.lang.Exception
-
updateMailTestMessageText
public void updateMailTestMessageText(java.lang.String newText) throws java.lang.Exception- Throws:
java.lang.Exception
-
getMailTestMessageTo
public java.lang.String getMailTestMessageTo() throws java.lang.Exception- Throws:
java.lang.Exception
-
updateMailTestMessageTo
public void updateMailTestMessageTo(java.lang.String newTo) throws java.lang.Exception- Throws:
java.lang.Exception
-
getMailUsername
public java.lang.String getMailUsername() throws java.lang.Exception- Throws:
java.lang.Exception
-
updateMailUsername
public void updateMailUsername(java.lang.String newUsername) throws java.lang.Exception- Throws:
java.lang.Exception
-
getSystemUsagesConfigurationStatus
public boolean getSystemUsagesConfigurationStatus() throws java.lang.Exception- Throws:
java.lang.Exception
-
getNotificationEmailSiteInviteConfigurationStatus
public boolean getNotificationEmailSiteInviteConfigurationStatus() throws java.lang.Exception- Throws:
java.lang.Exception
-
-