Class ServiceSettings


  • public class ServiceSettings
    extends Object
    Service settings.
    Author:
    Takayuki Maruyama
    • Constructor Detail

      • ServiceSettings

        public ServiceSettings()
    • Method Detail

      • setGoroutineHealthThreshould

        @Deprecated
        public void setGoroutineHealthThreshould​(int goroutineHealthThresould)
        Deprecated.
        This is typo. Please use setGoroutineHealthThreshold(int)
        This method should not use.
      • getSiteUrl

        public String getSiteUrl()
      • getLicenseFileLocation

        public String getLicenseFileLocation()
      • getListenAddress

        public String getListenAddress()
      • getTlsCertFile

        public String getTlsCertFile()
      • getTlsKeyFile

        public String getTlsKeyFile()
      • isUseLetsEncrypt

        public boolean isUseLetsEncrypt()
      • getLetsEncryptCertificateCacheFile

        public String getLetsEncryptCertificateCacheFile()
      • isForward80To443

        public boolean isForward80To443()
      • getReadTimeout

        public int getReadTimeout()
      • getWriteTimeout

        public int getWriteTimeout()
      • getMaximumLoginAttempts

        public int getMaximumLoginAttempts()
      • getGoogleDeveloperKey

        public String getGoogleDeveloperKey()
      • isEnableOAuthServiceProvider

        public boolean isEnableOAuthServiceProvider()
      • isEnableIncomingWebhooks

        public boolean isEnableIncomingWebhooks()
      • isEnableOutgoingWebhooks

        public boolean isEnableOutgoingWebhooks()
      • isEnableCommands

        public boolean isEnableCommands()
      • isEnableOnlyAdminIntegrations

        public boolean isEnableOnlyAdminIntegrations()
      • isEnablePostUsernameOverride

        public boolean isEnablePostUsernameOverride()
      • isEnablePostIconOverride

        public boolean isEnablePostIconOverride()
      • isEnableLinkPreviews

        public boolean isEnableLinkPreviews()
      • isEnableTesting

        public boolean isEnableTesting()
      • isEnableDeveloper

        public boolean isEnableDeveloper()
      • isEnableSecurityFixAlert

        public boolean isEnableSecurityFixAlert()
      • isEnableInsecureOutgoingConnections

        public boolean isEnableInsecureOutgoingConnections()
      • isEnableMultifactorAuthentication

        public boolean isEnableMultifactorAuthentication()
      • isEnforceMultifactorAuthentication

        public boolean isEnforceMultifactorAuthentication()
      • getAllowCorsFrom

        public String getAllowCorsFrom()
      • getSessionLengthWebInDays

        public int getSessionLengthWebInDays()
      • getSessionLengthMobileInDays

        public int getSessionLengthMobileInDays()
      • getSessionLengthSsoInDays

        public int getSessionLengthSsoInDays()
      • getSessionCacheInMinutes

        public int getSessionCacheInMinutes()
      • getWebsocketSecurePort

        public int getWebsocketSecurePort()
      • getWebsocketPort

        public int getWebsocketPort()
      • isEnableCustomEmoji

        public boolean isEnableCustomEmoji()
      • getPostEditTimeLimit

        public int getPostEditTimeLimit()
      • getTimeBetweenUserTypingUpdatesMilliseconds

        public long getTimeBetweenUserTypingUpdatesMilliseconds()
      • isEnablePostSearch

        public boolean isEnablePostSearch()
      • isEnableUserTypingMessages

        public boolean isEnableUserTypingMessages()
      • isEnableUserStatuses

        public boolean isEnableUserStatuses()
      • getClusterLogTimeoutMilliseconds

        public int getClusterLogTimeoutMilliseconds()
      • getGoroutineHealthThreshold

        public int getGoroutineHealthThreshold()
      • isEnableEmojiPicker

        public boolean isEnableEmojiPicker()
      • isEnableChannelViewedMessages

        public boolean isEnableChannelViewedMessages()
      • isEnableApiv3

        public boolean isEnableApiv3()
      • isEnableUserAccessTokens

        public boolean isEnableUserAccessTokens()
      • getAllowedUntrustedInternalConnections

        public String getAllowedUntrustedInternalConnections()
      • getSessionIdleTimeoutInMinutes

        public int getSessionIdleTimeoutInMinutes()
      • isCloseUnusedDirectMessages

        public boolean isCloseUnusedDirectMessages()
      • isEnablePreviewFeatures

        public boolean isEnablePreviewFeatures()
      • isExperimentalEnableAuthenticationTransfer

        public boolean isExperimentalEnableAuthenticationTransfer()
      • isEnableTutorial

        public boolean isEnableTutorial()
      • getMinimumHashtagLength

        public int getMinimumHashtagLength()
      • isDisableBotsWhenOwnerIsDeactivated

        public boolean isDisableBotsWhenOwnerIsDeactivated()
      • getExperimentalGroupUnreadChannels

        public GroupUnreadChannels getExperimentalGroupUnreadChannels()
      • isExperimentalEnableDefaultChannelLeaveJoinMessages

        public boolean isExperimentalEnableDefaultChannelLeaveJoinMessages()
      • isAllowCookiesForSubdomains

        public boolean isAllowCookiesForSubdomains()
      • getWebsocketUrl

        public String getWebsocketUrl()
      • isEnableEmailInvitations

        public boolean isEnableEmailInvitations()
      • isEnableApiTeamDeletion

        public boolean isEnableApiTeamDeletion()
      • isExperimentalEnableHardenedMode

        public boolean isExperimentalEnableHardenedMode()
      • isEnableGifPicker

        public boolean isEnableGifPicker()
      • getGfycatApiKey

        public String getGfycatApiKey()
      • getGfycatApiSecret

        public String getGfycatApiSecret()
      • isExperimentalLimitClientConfig

        public boolean isExperimentalLimitClientConfig()
      • getCorsExposedHeaders

        public String getCorsExposedHeaders()
      • isCorsAllowCredentials

        public boolean isCorsAllowCredentials()
      • isCorsDebug

        public boolean isCorsDebug()
      • isExperimentalChannelOrganization

        public boolean isExperimentalChannelOrganization()
      • getTlsMinVer

        public String getTlsMinVer()
      • isTlsStrictTransport

        public boolean isTlsStrictTransport()
      • getTlsStrictTransportMaxAge

        public long getTlsStrictTransportMaxAge()
      • getTlsOverwriteCiphers

        public List<String> getTlsOverwriteCiphers()
      • isExperimentalStrictCsrfEnforcement

        public boolean isExperimentalStrictCsrfEnforcement()
      • isDisableLegacyMfa

        public boolean isDisableLegacyMfa()
      • getTrustedProxyIpHeader

        public List<String> getTrustedProxyIpHeader()
      • isEnableBotAccountCreation

        public boolean isEnableBotAccountCreation()
      • isEnableSvgs

        public boolean isEnableSvgs()
      • isEnableLatex

        public boolean isEnableLatex()
      • setSiteUrl

        public void setSiteUrl​(String siteUrl)
      • setLicenseFileLocation

        public void setLicenseFileLocation​(String licenseFileLocation)
      • setListenAddress

        public void setListenAddress​(String listenAddress)
      • setConnectionSecurity

        public void setConnectionSecurity​(ConnectionSecurity connectionSecurity)
      • setTlsCertFile

        public void setTlsCertFile​(String tlsCertFile)
      • setTlsKeyFile

        public void setTlsKeyFile​(String tlsKeyFile)
      • setUseLetsEncrypt

        public void setUseLetsEncrypt​(boolean useLetsEncrypt)
      • setLetsEncryptCertificateCacheFile

        public void setLetsEncryptCertificateCacheFile​(String letsEncryptCertificateCacheFile)
      • setForward80To443

        public void setForward80To443​(boolean forward80To443)
      • setReadTimeout

        public void setReadTimeout​(int readTimeout)
      • setWriteTimeout

        public void setWriteTimeout​(int writeTimeout)
      • setMaximumLoginAttempts

        public void setMaximumLoginAttempts​(int maximumLoginAttempts)
      • setGoogleDeveloperKey

        public void setGoogleDeveloperKey​(String googleDeveloperKey)
      • setEnableOAuthServiceProvider

        public void setEnableOAuthServiceProvider​(boolean enableOAuthServiceProvider)
      • setEnableIncomingWebhooks

        public void setEnableIncomingWebhooks​(boolean enableIncomingWebhooks)
      • setEnableOutgoingWebhooks

        public void setEnableOutgoingWebhooks​(boolean enableOutgoingWebhooks)
      • setEnableCommands

        public void setEnableCommands​(boolean enableCommands)
      • setEnableOnlyAdminIntegrations

        public void setEnableOnlyAdminIntegrations​(boolean enableOnlyAdminIntegrations)
      • setEnablePostUsernameOverride

        public void setEnablePostUsernameOverride​(boolean enablePostUsernameOverride)
      • setEnablePostIconOverride

        public void setEnablePostIconOverride​(boolean enablePostIconOverride)
      • setEnableLinkPreviews

        public void setEnableLinkPreviews​(boolean enableLinkPreviews)
      • setEnableTesting

        public void setEnableTesting​(boolean enableTesting)
      • setEnableDeveloper

        public void setEnableDeveloper​(boolean enableDeveloper)
      • setEnableSecurityFixAlert

        public void setEnableSecurityFixAlert​(boolean enableSecurityFixAlert)
      • setEnableInsecureOutgoingConnections

        public void setEnableInsecureOutgoingConnections​(boolean enableInsecureOutgoingConnections)
      • setEnableMultifactorAuthentication

        public void setEnableMultifactorAuthentication​(boolean enableMultifactorAuthentication)
      • setEnforceMultifactorAuthentication

        public void setEnforceMultifactorAuthentication​(boolean enforceMultifactorAuthentication)
      • setAllowCorsFrom

        public void setAllowCorsFrom​(String allowCorsFrom)
      • setSessionLengthWebInDays

        public void setSessionLengthWebInDays​(int sessionLengthWebInDays)
      • setSessionLengthMobileInDays

        public void setSessionLengthMobileInDays​(int sessionLengthMobileInDays)
      • setSessionLengthSsoInDays

        public void setSessionLengthSsoInDays​(int sessionLengthSsoInDays)
      • setSessionCacheInMinutes

        public void setSessionCacheInMinutes​(int sessionCacheInMinutes)
      • setWebsocketSecurePort

        public void setWebsocketSecurePort​(int websocketSecurePort)
      • setWebsocketPort

        public void setWebsocketPort​(int websocketPort)
      • setWebServerMode

        public void setWebServerMode​(WebServerMode webServerMode)
      • setEnableCustomEmoji

        public void setEnableCustomEmoji​(boolean enableCustomEmoji)
      • setRestrictCustomEmojiCreation

        public void setRestrictCustomEmojiCreation​(RestrictEmojiCreation restrictCustomEmojiCreation)
      • setRestrictPostDelete

        public void setRestrictPostDelete​(PermissionsDeletePost restrictPostDelete)
      • setAllowEditPost

        public void setAllowEditPost​(AllowEditPost allowEditPost)
      • setPostEditTimeLimit

        public void setPostEditTimeLimit​(int postEditTimeLimit)
      • setTimeBetweenUserTypingUpdatesMilliseconds

        public void setTimeBetweenUserTypingUpdatesMilliseconds​(long timeBetweenUserTypingUpdatesMilliseconds)
      • setEnablePostSearch

        public void setEnablePostSearch​(boolean enablePostSearch)
      • setEnableUserTypingMessages

        public void setEnableUserTypingMessages​(boolean enableUserTypingMessages)
      • setEnableUserStatuses

        public void setEnableUserStatuses​(boolean enableUserStatuses)
      • setClusterLogTimeoutMilliseconds

        public void setClusterLogTimeoutMilliseconds​(int clusterLogTimeoutMilliseconds)
      • setGoroutineHealthThreshold

        public void setGoroutineHealthThreshold​(int goroutineHealthThreshold)
      • setEnableEmojiPicker

        public void setEnableEmojiPicker​(boolean enableEmojiPicker)
      • setEnableChannelViewedMessages

        public void setEnableChannelViewedMessages​(boolean enableChannelViewedMessages)
      • setEnableApiv3

        public void setEnableApiv3​(boolean enableApiv3)
      • setEnableUserAccessTokens

        public void setEnableUserAccessTokens​(boolean enableUserAccessTokens)
      • setAllowedUntrustedInternalConnections

        public void setAllowedUntrustedInternalConnections​(String allowedUntrustedInternalConnections)
      • setSessionIdleTimeoutInMinutes

        public void setSessionIdleTimeoutInMinutes​(int sessionIdleTimeoutInMinutes)
      • setCloseUnusedDirectMessages

        public void setCloseUnusedDirectMessages​(boolean closeUnusedDirectMessages)
      • setEnablePreviewFeatures

        public void setEnablePreviewFeatures​(boolean enablePreviewFeatures)
      • setExperimentalEnableAuthenticationTransfer

        public void setExperimentalEnableAuthenticationTransfer​(boolean experimentalEnableAuthenticationTransfer)
      • setEnableTutorial

        public void setEnableTutorial​(boolean enableTutorial)
      • setMinimumHashtagLength

        public void setMinimumHashtagLength​(int minimumHashtagLength)
      • setDisableBotsWhenOwnerIsDeactivated

        public void setDisableBotsWhenOwnerIsDeactivated​(boolean disableBotsWhenOwnerIsDeactivated)
      • setExperimentalGroupUnreadChannels

        public void setExperimentalGroupUnreadChannels​(GroupUnreadChannels experimentalGroupUnreadChannels)
      • setExperimentalEnableDefaultChannelLeaveJoinMessages

        public void setExperimentalEnableDefaultChannelLeaveJoinMessages​(boolean experimentalEnableDefaultChannelLeaveJoinMessages)
      • setAllowCookiesForSubdomains

        public void setAllowCookiesForSubdomains​(boolean allowCookiesForSubdomains)
      • setWebsocketUrl

        public void setWebsocketUrl​(String websocketUrl)
      • setEnableEmailInvitations

        public void setEnableEmailInvitations​(boolean enableEmailInvitations)
      • setEnableApiTeamDeletion

        public void setEnableApiTeamDeletion​(boolean enableApiTeamDeletion)
      • setExperimentalEnableHardenedMode

        public void setExperimentalEnableHardenedMode​(boolean experimentalEnableHardenedMode)
      • setEnableGifPicker

        public void setEnableGifPicker​(boolean enableGifPicker)
      • setGfycatApiKey

        public void setGfycatApiKey​(String gfycatApiKey)
      • setGfycatApiSecret

        public void setGfycatApiSecret​(String gfycatApiSecret)
      • setExperimentalLimitClientConfig

        public void setExperimentalLimitClientConfig​(boolean experimentalLimitClientConfig)
      • setCorsExposedHeaders

        public void setCorsExposedHeaders​(String corsExposedHeaders)
      • setCorsAllowCredentials

        public void setCorsAllowCredentials​(boolean corsAllowCredentials)
      • setCorsDebug

        public void setCorsDebug​(boolean corsDebug)
      • setExperimentalChannelOrganization

        public void setExperimentalChannelOrganization​(boolean experimentalChannelOrganization)
      • setTlsMinVer

        public void setTlsMinVer​(String tlsMinVer)
      • setTlsStrictTransport

        public void setTlsStrictTransport​(boolean tlsStrictTransport)
      • setTlsStrictTransportMaxAge

        public void setTlsStrictTransportMaxAge​(long tlsStrictTransportMaxAge)
      • setTlsOverwriteCiphers

        public void setTlsOverwriteCiphers​(List<String> tlsOverwriteCiphers)
      • setExperimentalStrictCsrfEnforcement

        public void setExperimentalStrictCsrfEnforcement​(boolean experimentalStrictCsrfEnforcement)
      • setDisableLegacyMfa

        public void setDisableLegacyMfa​(boolean disableLegacyMfa)
      • setTrustedProxyIpHeader

        public void setTrustedProxyIpHeader​(List<String> trustedProxyIpHeader)
      • setEnableBotAccountCreation

        public void setEnableBotAccountCreation​(boolean enableBotAccountCreation)
      • setEnableSvgs

        public void setEnableSvgs​(boolean enableSvgs)
      • setEnableLatex

        public void setEnableLatex​(boolean enableLatex)
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • isExperimentalLdapGroupSync

        @Deprecated
        public boolean isExperimentalLdapGroupSync()
        Deprecated.
      • setExperimentalLdapGroupSync

        @Deprecated
        public void setExperimentalLdapGroupSync​(boolean experimentalLdapGroupSync)
        Deprecated.