public class Settings extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
BRAZILIAN |
static String |
CHINESE |
static String |
CJK |
static String |
CUSTOM_JAPANESE |
static String |
CZECH |
static String |
DAILY_BACKUP_DIRECTORY |
static String |
DEFAULT_DEFAULT_ENCODING |
static String |
DEFAULT_SITE_TITLE |
static String |
DEFAULT_USERS_GROUP_ENV_VAR_KEY |
static String |
EMAIL_ADDRESS_MASKED |
static String |
EMAIL_ADDRESS_PRIVATE |
static String |
EMAIL_ADDRESS_PUBLIC |
static String |
EMAIL_FROMNAME_DEFAULT |
static String |
ENGLISH |
static String |
FALLBACK_DEFAULT_USERS_GROUP |
static String |
FRENCH |
static String |
GERMAN |
static String |
GREEK |
static String |
LOCALE_ENGLISH |
static String |
LOCALE_GERMAN |
static String |
LOCALE_JAPANESE |
static String |
LOCALE_RUSSIAN |
static String |
RUSSIAN |
Modifier and Type | Method and Description |
---|---|
boolean |
areEmailAddressesPrivate() |
String |
getAttachmentDataStore() |
long |
getAttachmentMaxSize() |
AttachmentSecurityLevel |
getAttachmentSecurityLevel() |
String |
getBackupPath() |
String |
getBaseUrl() |
CaptchaSettings |
getCaptchaSettings() |
ColourSchemesSettings |
getColourSchemesSettings() |
ConfluenceHttpParameters |
getConfluenceHttpParameters() |
String |
getCustomContactMessage() |
CustomHtmlSettings |
getCustomHtmlSettings() |
String |
getDailyBackupDateFormatPattern() |
String |
getDailyBackupFilePrefix() |
String |
getDefaultEncoding() |
String |
getDefaultPersonalSpaceHomepageContent()
Deprecated.
since 5.0 because default space homepage content is now fetched from a global template
|
String |
getDefaultSpaceHomepageContent()
Deprecated.
since 5.0 because default space homepage content is now fetched from a global template
|
String |
getDefaultSpaceHomepageTitle() |
String |
getDefaultTimezoneId() |
String |
getDefaultUsersGroup() |
int |
getDraftSaveInterval() |
String |
getEmailAddressVisibility() |
String |
getGlobalDefaultLocale() |
String |
getIgnoredAdminTasks() |
String |
getIndexingLanguage() |
LoginManagerSettings |
getLoginManagerSettings() |
int |
getMaxAttachmentsInUI() |
int |
getMaxRssItems() |
int |
getMaxSimultaneousQuickNavRequests() |
Dimensions |
getMaxThumbDimensions() |
int |
getMaxThumbHeight() |
int |
getMaxThumbWidth() |
int |
getNumberOfBreadcrumbAncestors()
Deprecated.
since 4.0
|
int |
getPageTimeout() |
ReferrerSettings |
getReferrerSettings() |
int |
getRssTimeout() |
String |
getSiteHomePage() |
String |
getSiteTitle() |
String |
getSiteWelcomeMessage()
Deprecated.
since 5.0 The welcome message is now a system template. Use
WelcomeMessageService |
String |
getSupportRequestEmail() |
TimeZone |
getTimeZone()
Deprecated.
since 5.7. Do not use this method, use
TimeZoneManager.getDefaultTimeZone() |
String |
getWebdavPassword()
Deprecated.
since 5.8 - WebDAV attachment storage functionality removed
|
String |
getWebdavServerUrl()
Deprecated.
since 5.8 - WebDAV attachment storage functionality removed
|
String |
getWebdavUsername()
Deprecated.
since 5.8 - WebDAV attachment storage functionality removed
|
boolean |
getWebSudoEnabled() |
long |
getWebSudoTimeout() |
boolean |
isAddWildcardsToUserAndGroupSearches() |
boolean |
isAllowCamelCase() |
boolean |
isAllowRemoteApi() |
boolean |
isAllowRemoteApiAnonymous() |
boolean |
isAllowThreadedComments() |
boolean |
isAllowTrackbacks() |
boolean |
isAlmostSupportPeriodEndMessageOff() |
boolean |
isAntiXssMode() |
boolean |
isBackupAttachmentsDaily() |
boolean |
isBackupDaily() |
boolean |
isBaseUrlAdminMessageOff() |
boolean |
isDenyPublicSignup() |
boolean |
isDisableLogo() |
boolean |
isDisplayLinkIcons()
Deprecated.
since 4.0
|
boolean |
isEmailAdminMessageOff() |
boolean |
isEnableDidYouMean()
Deprecated.
since 5.2 because we don't use did you mean anymore
|
boolean |
isEnableJavascriptTop()
Deprecated.
since 5.0. We always serve javascript at the top. Will always return true.
|
boolean |
isEnableOpenSearch() |
boolean |
isEnableQuickNav() |
boolean |
isEnableSpaceStyles() |
boolean |
isEnableWysiwyg()
Deprecated.
since 4.0
|
boolean |
isExternalUserManagement() |
boolean |
isGzippingResponse() |
boolean |
isNofollowExternalLinks() |
boolean |
isSaveable() |
boolean |
isSenMissingInLicenseMessageOff() |
boolean |
isSharedMode() |
boolean |
isShowContactAdministratorsForm() |
boolean |
isShowSystemInfoIn500Page() |
boolean |
isUseWysiwygByDefault()
Deprecated.
since 4.0
|
boolean |
isViewSpaceGoesToSpaceSummary()
Deprecated.
since 5.0
|
boolean |
isWebdavEnabled()
Deprecated.
since 5.8 - WebDAV attachment storage functionality removed
|
boolean |
isXsrfAddComments() |
void |
setAddWildcardsToUserAndGroupSearches(boolean addWildcardsToUserAndGroupSearches) |
void |
setAllowCamelCase(boolean allowCamelCase) |
void |
setAllowRemoteApi(boolean allowRemoteApi) |
void |
setAllowRemoteApiAnonymous(boolean allowRemoteApiAnonymous) |
void |
setAllowThreadedComments(boolean allowThreadedComments) |
void |
setAllowTrackbacks(boolean allowTrackbacks) |
void |
setAlmostSupportPeriodEndMessageOff(boolean almostSupportPeriodEndMessageOff) |
void |
setAnitXssMode(boolean antiXssMode)
Deprecated.
since 3.5.8 use
setAntiXssMode(boolean) instead. |
void |
setAntiXssMode(boolean antiXssMode) |
void |
setAttachmentDataStore(String attachmentDataStore) |
void |
setAttachmentMaxSize(long attachmentMaxSize) |
void |
setAttachmentSecurityLevel(AttachmentSecurityLevel attachmentSecurityLevel) |
void |
setBackupAttachmentsDaily(boolean backupAttachmentsDaily) |
void |
setBackupDaily(boolean backupDaily) |
void |
setBackupPath(String backupPath) |
void |
setBaseUrl(String baseUrl) |
void |
setBaseUrlAdminMessageOff(boolean baseUrlAdminMessageOff) |
void |
setCaptchaSettings(CaptchaSettings captchaSettings) |
void |
setColourSchemesSettings(ColourSchemesSettings colourSchemesSettings) |
void |
setConfluenceHttpParameters(ConfluenceHttpParameters confluenceHttpParameters) |
void |
setCustomContactMessage(String customErrorMessage) |
void |
setCustomHtmlSettings(CustomHtmlSettings customHtmlSettings) |
void |
setDailyBackupDateFormatPattern(String dailyBackupDateFormatPattern) |
void |
setDailyBackupFilePrefix(String dailyBackupFilePrefix) |
void |
setDefaultEncoding(String defaultEncoding) |
void |
setDefaultPersonalSpaceHomepageContent(String defaultPersonalSpaceHomepageContent)
Deprecated.
since 5.0 because default space homepage content is now fetched from a global template
|
void |
setDefaultSpaceHomepageContent(String defaultSpaceHomepageContent)
Deprecated.
since 5.0 because default space homepage content is now fetched from a global template
|
void |
setDefaultSpaceHomepageTitle(String defaultSpaceHomepageTitle) |
void |
setDefaultTimezoneId(String defaultTimezoneId) |
void |
setDefaultUsersGroup(String defaultUsersGroup) |
void |
setDenyPublicSignup(boolean denyPublicSignup) |
void |
setDisableLogo(boolean disableLogo) |
void |
setDisplayLinkIcons(boolean displayLinkIcons)
Deprecated.
since 4.0
|
void |
setDraftSaveInterval(int draftSaveInterval) |
void |
setEmailAddressVisibility(String emailAddressVisibility) |
void |
setEmailAdminMessageOff(boolean emailAdminMessageOff) |
void |
setEnableDidYouMean(boolean enableDidYouMean)
Deprecated.
since 5.2 because we don't use did you mean anymore
|
void |
setEnableJavascriptTop(boolean enableJavascriptTop)
Deprecated.
since 5.0. We always serve javascript at the top.
|
void |
setEnableOpenSearch(boolean enableOpenSearch) |
void |
setEnableQuickNav(boolean enableQuickNav) |
void |
setEnableSpaceStyles(boolean enableSpaceStyles) |
void |
setEnableWysiwyg(boolean enableWysiwyg)
Deprecated.
since 4.0
|
void |
setExternalUserManagement(boolean externalUserManagement) |
void |
setGlobalDefaultLocale(String localeString) |
void |
setGzippingResponse(boolean gzippingResponse) |
void |
setIgnoredAdminTasks(String ignoredAdminTasks) |
void |
setIndexingLanguage(String indexingLanguage) |
void |
setLoginManagerSettings(LoginManagerSettings loginManagerSettings) |
void |
setMaxAttachmentsInUI(int maxAttachmentsInUI) |
void |
setMaxRssItems(int maxRssItems) |
void |
setMaxSimultaneousQuickNavRequests(int maxSimultaneousQuickNavRequests) |
void |
setMaxThumbHeight(int maxThumbHeight)
Deprecated.
since 4.0
|
void |
setMaxThumbWidth(int maxThumbWidth)
Deprecated.
since 4.0
|
void |
setNofollowExternalLinks(boolean nofollowExternalLinks) |
void |
setNumberOfBreadcrumbAncestors(int numberOfBreadcrumbAncestors)
Deprecated.
since 4.0
|
void |
setPageTimeout(int pageTimeout) |
void |
setReferrerSettings(ReferrerSettings referrerSettings) |
void |
setRssTimeout(int rssTimeout) |
void |
setSenMissingInLicenseMessageOff(boolean senMissingInLicenseMessageOff) |
void |
setSharedMode(boolean sharedMode) |
void |
setShowApplicationTitle(boolean showApplicationTitle) |
void |
setShowContactAdministratorsForm(boolean showContactAdministratorsForm) |
void |
setShowSystemInfoIn500Page(boolean showSystemInfoIn500Page) |
void |
setSiteHomePage(String siteHomePage) |
void |
setSiteTitle(String siteTitle) |
void |
setSiteWelcomeMessage(String siteWelcomeMessage)
Deprecated.
since 5.0 The welcome message is now a system template
|
void |
setSupportRequestEmail(String supportRequestEmail) |
void |
setUseWysiwygByDefault(boolean useWysiwygByDefault)
Deprecated.
since 4.0
|
void |
setViewSpaceGoesToSpaceSummary(boolean viewSpaceGoesToSpaceSummary)
Deprecated.
since 5.0
|
void |
setWebdavPassword(String webdavPassword)
Deprecated.
since 5.8 - WebDAV attachment storage functionality removed
|
void |
setWebdavServerUrl(String webdavServerUrl)
Deprecated.
since 5.8 - WebDAV attachment storage functionality removed
|
void |
setWebdavUsername(String webdavUsername)
Deprecated.
since 5.8 - WebDAV attachment storage functionality removed
|
void |
setWebSudoEnabled(boolean webSudoEnabled) |
void |
setWebSudoTimeout(long webSudoTimeout) |
void |
setXsrfAddComments(boolean xsrfAddComments) |
boolean |
showApplicationTitle() |
static Settings |
unsavableSettings()
Instantiate a settings object that will be ignored by the settings manager if you attempt to save it.
|
public static final String DEFAULT_SITE_TITLE
public static final String FALLBACK_DEFAULT_USERS_GROUP
public static final String DEFAULT_USERS_GROUP_ENV_VAR_KEY
public static final String DEFAULT_DEFAULT_ENCODING
public static final String EMAIL_ADDRESS_PUBLIC
public static final String EMAIL_ADDRESS_MASKED
public static final String EMAIL_ADDRESS_PRIVATE
public static final String EMAIL_FROMNAME_DEFAULT
public static final String DAILY_BACKUP_DIRECTORY
public static final String ENGLISH
public static final String GERMAN
public static final String RUSSIAN
public static final String CJK
public static final String CUSTOM_JAPANESE
public static final String CHINESE
public static final String FRENCH
public static final String GREEK
public static final String BRAZILIAN
public static final String CZECH
public static final String LOCALE_ENGLISH
public static final String LOCALE_GERMAN
public static final String LOCALE_RUSSIAN
public static final String LOCALE_JAPANESE
public Settings()
public Settings(Settings settings)
public static Settings unsavableSettings()
public ConfluenceHttpParameters getConfluenceHttpParameters()
public void setConfluenceHttpParameters(ConfluenceHttpParameters confluenceHttpParameters)
public boolean isAllowCamelCase()
public void setAllowCamelCase(boolean allowCamelCase)
public boolean isAllowTrackbacks()
public void setAllowTrackbacks(boolean allowTrackbacks)
public boolean isAllowThreadedComments()
public void setAllowThreadedComments(boolean allowThreadedComments)
public boolean isViewSpaceGoesToSpaceSummary()
public void setViewSpaceGoesToSpaceSummary(boolean viewSpaceGoesToSpaceSummary)
public boolean isExternalUserManagement()
public void setExternalUserManagement(boolean externalUserManagement)
public boolean isDenyPublicSignup()
public void setDenyPublicSignup(boolean denyPublicSignup)
public ReferrerSettings getReferrerSettings()
public void setReferrerSettings(ReferrerSettings referrerSettings)
public CaptchaSettings getCaptchaSettings()
public void setCaptchaSettings(CaptchaSettings captchaSettings)
public String getSiteHomePage()
public void setSiteHomePage(String siteHomePage)
@Deprecated public String getSiteWelcomeMessage()
WelcomeMessageService
@Deprecated public void setSiteWelcomeMessage(String siteWelcomeMessage)
public String getCustomContactMessage()
public void setCustomContactMessage(String customErrorMessage)
public boolean isShowContactAdministratorsForm()
public void setShowContactAdministratorsForm(boolean showContactAdministratorsForm)
public String getEmailAddressVisibility()
public void setEmailAddressVisibility(String emailAddressVisibility)
public boolean areEmailAddressesPrivate()
public long getAttachmentMaxSize()
public void setAttachmentMaxSize(long attachmentMaxSize)
public String getDefaultEncoding()
public void setDefaultEncoding(String defaultEncoding)
public int getMaxThumbHeight()
public int getMaxThumbWidth()
public Dimensions getMaxThumbDimensions()
public boolean isBackupAttachmentsDaily()
public void setBackupAttachmentsDaily(boolean backupAttachmentsDaily)
public String getIndexingLanguage()
public void setIndexingLanguage(String indexingLanguage)
public String getGlobalDefaultLocale()
public void setGlobalDefaultLocale(String localeString)
public boolean isEmailAdminMessageOff()
public void setEmailAdminMessageOff(boolean emailAdminMessageOff)
public boolean isBaseUrlAdminMessageOff()
public void setBaseUrlAdminMessageOff(boolean baseUrlAdminMessageOff)
baseUrlAdminMessageOff
- boolean saying whether or not display reminder for admin to configure base url if set to 127.0.0.1 or localhostpublic boolean isAlmostSupportPeriodEndMessageOff()
public void setAlmostSupportPeriodEndMessageOff(boolean almostSupportPeriodEndMessageOff)
almostSupportPeriodEndMessageOff
- saying whether or not to display reminder for support period expirationpublic boolean isAllowRemoteApi()
public void setAllowRemoteApi(boolean allowRemoteApi)
public boolean isAllowRemoteApiAnonymous()
public void setAllowRemoteApiAnonymous(boolean allowRemoteApiAnonymous)
public int getMaxAttachmentsInUI()
public void setMaxAttachmentsInUI(int maxAttachmentsInUI)
public boolean isGzippingResponse()
public void setGzippingResponse(boolean gzippingResponse)
public void setNofollowExternalLinks(boolean nofollowExternalLinks)
public boolean isNofollowExternalLinks()
public String getDailyBackupFilePrefix()
public void setDailyBackupFilePrefix(String dailyBackupFilePrefix)
public String getDailyBackupDateFormatPattern()
public void setDailyBackupDateFormatPattern(String dailyBackupDateFormatPattern)
public String getSiteTitle()
public void setSiteTitle(String siteTitle)
@Deprecated public void setMaxThumbHeight(int maxThumbHeight)
@Deprecated public void setMaxThumbWidth(int maxThumbWidth)
@Deprecated public boolean isEnableWysiwyg()
@Deprecated public void setEnableWysiwyg(boolean enableWysiwyg)
@Deprecated public boolean isUseWysiwygByDefault()
@Deprecated public void setUseWysiwygByDefault(boolean useWysiwygByDefault)
@Deprecated public int getNumberOfBreadcrumbAncestors()
@Deprecated public void setNumberOfBreadcrumbAncestors(int numberOfBreadcrumbAncestors)
public boolean isDisableLogo()
public void setDisableLogo(boolean disableLogo)
public boolean showApplicationTitle()
public void setShowApplicationTitle(boolean showApplicationTitle)
public int getDraftSaveInterval()
public void setDraftSaveInterval(int draftSaveInterval)
public CustomHtmlSettings getCustomHtmlSettings()
public void setCustomHtmlSettings(CustomHtmlSettings customHtmlSettings)
public ColourSchemesSettings getColourSchemesSettings()
public void setColourSchemesSettings(ColourSchemesSettings colourSchemesSettings)
@Deprecated public TimeZone getTimeZone()
TimeZoneManager.getDefaultTimeZone()
com.atlassian.sal.api.timezone.TimeZoneManager#getDefaultTimeZone()}
public String getDefaultSpaceHomepageTitle()
public void setDefaultSpaceHomepageTitle(String defaultSpaceHomepageTitle)
@Deprecated public String getDefaultSpaceHomepageContent()
@Deprecated public void setDefaultSpaceHomepageContent(String defaultSpaceHomepageContent)
public String getBaseUrl()
public void setBaseUrl(String baseUrl)
public String getAttachmentDataStore()
public void setAttachmentDataStore(String attachmentDataStore)
@Deprecated public String getWebdavServerUrl()
@Deprecated public void setWebdavServerUrl(String webdavServerUrl)
@Deprecated public String getWebdavUsername()
@Deprecated public void setWebdavUsername(String webdavUsername)
@Deprecated public String getWebdavPassword()
@Deprecated public void setWebdavPassword(String webdavPassword)
@Deprecated public boolean isWebdavEnabled()
public boolean isAntiXssMode()
@Deprecated public void setAnitXssMode(boolean antiXssMode)
setAntiXssMode(boolean)
instead.public void setAntiXssMode(boolean antiXssMode)
public boolean isSharedMode()
public void setSharedMode(boolean sharedMode)
@Deprecated public boolean isDisplayLinkIcons()
@Deprecated public void setDisplayLinkIcons(boolean displayLinkIcons)
@Deprecated public String getDefaultPersonalSpaceHomepageContent()
@Deprecated public void setDefaultPersonalSpaceHomepageContent(String defaultPersonalSpaceHomepageContent)
public String getSupportRequestEmail()
public void setSupportRequestEmail(String supportRequestEmail)
supportRequestEmail
- the default e-mail address that support requests will be sent to.@Deprecated public boolean isEnableDidYouMean()
@Deprecated public void setEnableDidYouMean(boolean enableDidYouMean)
public boolean isEnableSpaceStyles()
public void setEnableSpaceStyles(boolean enableSpaceStyles)
public boolean isEnableQuickNav()
public void setEnableQuickNav(boolean enableQuickNav)
public int getMaxSimultaneousQuickNavRequests()
public void setMaxSimultaneousQuickNavRequests(int maxSimultaneousQuickNavRequests)
public boolean isEnableOpenSearch()
public void setEnableOpenSearch(boolean enableOpenSearch)
@Deprecated public boolean isEnableJavascriptTop()
@Deprecated public void setEnableJavascriptTop(boolean enableJavascriptTop)
public int getMaxRssItems()
public void setMaxRssItems(int maxRssItems)
public int getRssTimeout()
public void setRssTimeout(int rssTimeout)
public int getPageTimeout()
public void setPageTimeout(int pageTimeout)
public boolean isBackupDaily()
public void setBackupDaily(boolean backupDaily)
public String getBackupPath()
public void setBackupPath(String backupPath)
public boolean isAddWildcardsToUserAndGroupSearches()
public void setAddWildcardsToUserAndGroupSearches(boolean addWildcardsToUserAndGroupSearches)
public boolean isSaveable()
public boolean isSenMissingInLicenseMessageOff()
public void setSenMissingInLicenseMessageOff(boolean senMissingInLicenseMessageOff)
public boolean isShowSystemInfoIn500Page()
public void setShowSystemInfoIn500Page(boolean showSystemInfoIn500Page)
public LoginManagerSettings getLoginManagerSettings()
public void setLoginManagerSettings(LoginManagerSettings loginManagerSettings)
public boolean isXsrfAddComments()
public void setXsrfAddComments(boolean xsrfAddComments)
public long getWebSudoTimeout()
public void setWebSudoTimeout(long webSudoTimeout)
public boolean getWebSudoEnabled()
public void setWebSudoEnabled(boolean webSudoEnabled)
public String getIgnoredAdminTasks()
public void setIgnoredAdminTasks(String ignoredAdminTasks)
public String getDefaultTimezoneId()
public void setDefaultTimezoneId(String defaultTimezoneId)
public String getDefaultUsersGroup()
public void setDefaultUsersGroup(String defaultUsersGroup)
public AttachmentSecurityLevel getAttachmentSecurityLevel()
public void setAttachmentSecurityLevel(AttachmentSecurityLevel attachmentSecurityLevel)
Copyright © 2003–2015 Atlassian. All rights reserved.