Class AdministrationResource


  • @Singleton
    public class AdministrationResource
    extends Object
    • Method Detail

      • setAuditLogEnabled

        public javax.ws.rs.core.Response setAuditLogEnabled​(boolean enabled)
      • getAuditLogStatus

        public javax.ws.rs.core.Response getAuditLogStatus()
        Returns:
        true if audit log is globally enabled, false - otherwise
      • getSystemInformation

        public javax.ws.rs.core.Response getSystemInformation()
      • removeMailServerSettings

        public javax.ws.rs.core.Response removeMailServerSettings()
                                                           throws com.atlassian.mail.MailException
        Throws:
        com.atlassian.mail.MailException
      • setMailServerSettings

        public javax.ws.rs.core.Response setMailServerSettings​(MailServerSettings mailServerSettings)
                                                        throws com.atlassian.mail.MailException
        Throws:
        com.atlassian.mail.MailException
      • getDashboardPageSize

        public javax.ws.rs.core.Response getDashboardPageSize()
      • setLicense

        public void setLicense​(String licenseString)
      • setSessionTimeout

        public void setSessionTimeout​(int seconds)
        Update global session timeout settings.
      • addWebhookTemplate

        public void addWebhookTemplate​(RestWebhookTemplate restWebhookTemplate)
        Update global session timeout settings.
      • addWebhookTemplate

        public void addWebhookTemplate​(String uuid)