|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.setup.settings.Settings
public class Settings
Field Summary | |
---|---|
static java.lang.String |
BRAZILIAN
|
static java.lang.String |
CHINESE
|
static java.lang.String |
CJK
|
static java.lang.String |
CUSTOM_JAPANESE
|
static java.lang.String |
CZECH
|
static java.lang.String |
DAILY_BACKUP_DIRECTORY
|
static java.lang.String |
DEFAULT_DEFAULT_ENCODING
|
static java.lang.String |
DEFAULT_SITE_TITLE
|
static java.lang.String |
DEFAULT_USERS_GROUP_ENV_VAR_KEY
|
static java.lang.String |
EMAIL_ADDRESS_MASKED
|
static java.lang.String |
EMAIL_ADDRESS_PRIVATE
|
static java.lang.String |
EMAIL_ADDRESS_PUBLIC
|
static java.lang.String |
EMAIL_FROMNAME_DEFAULT
|
static java.lang.String |
ENGLISH
|
static java.lang.String |
FALLBACK_DEFAULT_USERS_GROUP
|
static java.lang.String |
FRENCH
|
static java.lang.String |
GERMAN
|
static java.lang.String |
GREEK
|
static java.lang.String |
LOCALE_ENGLISH
|
static java.lang.String |
LOCALE_GERMAN
|
static java.lang.String |
LOCALE_JAPANESE
|
static java.lang.String |
LOCALE_RUSSIAN
|
static java.lang.String |
RUSSIAN
|
Constructor Summary | |
---|---|
Settings()
|
|
Settings(Settings settings)
|
Method Summary | |
---|---|
boolean |
areEmailAddressesPrivate()
|
java.lang.String |
getAttachmentDataStore()
|
long |
getAttachmentMaxSize()
|
AttachmentSecurityLevel |
getAttachmentSecurityLevel()
|
java.lang.String |
getBackupPath()
|
java.lang.String |
getBaseUrl()
|
CaptchaSettings |
getCaptchaSettings()
|
ColourSchemesSettings |
getColourSchemesSettings()
|
ConfluenceHttpParameters |
getConfluenceHttpParameters()
|
java.lang.String |
getCustomContactMessage()
|
CustomHtmlSettings |
getCustomHtmlSettings()
|
java.lang.String |
getDailyBackupDateFormatPattern()
|
java.lang.String |
getDailyBackupFilePrefix()
|
java.lang.String |
getDefaultEncoding()
|
java.lang.String |
getDefaultPersonalSpaceHomepageContent()
Deprecated. since 5.0 because default space homepage content is now fetched from a global template |
java.lang.String |
getDefaultSpaceHomepageContent()
Deprecated. since 5.0 because default space homepage content is now fetched from a global template |
java.lang.String |
getDefaultSpaceHomepageTitle()
|
java.lang.String |
getDefaultUsersGroup()
|
int |
getDraftSaveInterval()
|
java.lang.String |
getEmailAddressVisibility()
|
java.lang.String |
getGlobalDefaultLocale()
|
java.lang.String |
getIgnoredAdminTasks()
|
java.lang.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()
|
java.lang.String |
getSiteHomePage()
|
java.lang.String |
getSiteTitle()
|
java.lang.String |
getSiteWelcomeMessage()
Deprecated. since 5.0 The welcome message is now a system template. Use WelcomeMessageService |
java.lang.String |
getSupportRequestEmail()
|
TimeZone |
getTimeZone()
|
java.lang.String |
getWebdavPassword()
|
java.lang.String |
getWebdavServerUrl()
|
java.lang.String |
getWebdavUsername()
|
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()
|
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(java.lang.String attachmentDataStore)
|
void |
setAttachmentMaxSize(long attachmentMaxSize)
|
void |
setAttachmentSecurityLevel(AttachmentSecurityLevel attachmentSecurityLevel)
|
void |
setBackupAttachmentsDaily(boolean backupAttachmentsDaily)
|
void |
setBackupDaily(boolean backupDaily)
|
void |
setBackupPath(java.lang.String backupPath)
|
void |
setBaseUrl(java.lang.String baseUrl)
|
void |
setBaseUrlAdminMessageOff(boolean baseUrlAdminMessageOff)
|
void |
setCaptchaSettings(CaptchaSettings captchaSettings)
|
void |
setColourSchemesSettings(ColourSchemesSettings colourSchemesSettings)
|
void |
setConfluenceHttpParameters(ConfluenceHttpParameters confluenceHttpParameters)
|
void |
setCustomContactMessage(java.lang.String customErrorMessage)
|
void |
setCustomHtmlSettings(CustomHtmlSettings customHtmlSettings)
|
void |
setDailyBackupDateFormatPattern(java.lang.String dailyBackupDateFormatPattern)
|
void |
setDailyBackupFilePrefix(java.lang.String dailyBackupFilePrefix)
|
void |
setDefaultEncoding(java.lang.String defaultEncoding)
|
void |
setDefaultPersonalSpaceHomepageContent(java.lang.String defaultPersonalSpaceHomepageContent)
Deprecated. since 5.0 because default space homepage content is now fetched from a global template |
void |
setDefaultSpaceHomepageContent(java.lang.String defaultSpaceHomepageContent)
Deprecated. since 5.0 because default space homepage content is now fetched from a global template |
void |
setDefaultSpaceHomepageTitle(java.lang.String defaultSpaceHomepageTitle)
|
void |
setDefaultUsersGroup(java.lang.String defaultUsersGroup)
|
void |
setDenyPublicSignup(boolean denyPublicSignup)
|
void |
setDisableLogo(boolean disableLogo)
|
void |
setDisplayLinkIcons(boolean displayLinkIcons)
Deprecated. since 4.0 |
void |
setDraftSaveInterval(int draftSaveInterval)
|
void |
setEmailAddressVisibility(java.lang.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(java.lang.String localeString)
|
void |
setGzippingResponse(boolean gzippingResponse)
|
void |
setIgnoredAdminTasks(java.lang.String ignoredAdminTasks)
|
void |
setIndexingLanguage(java.lang.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(java.lang.String siteHomePage)
|
void |
setSiteTitle(java.lang.String siteTitle)
|
void |
setSiteWelcomeMessage(java.lang.String siteWelcomeMessage)
Deprecated. since 5.0 The welcome message is now a system template |
void |
setSupportRequestEmail(java.lang.String supportRequestEmail)
|
void |
setUseWysiwygByDefault(boolean useWysiwygByDefault)
Deprecated. since 4.0 |
void |
setViewSpaceGoesToSpaceSummary(boolean viewSpaceGoesToSpaceSummary)
Deprecated. since 5.0 |
void |
setWebdavPassword(java.lang.String webdavPassword)
|
void |
setWebdavServerUrl(java.lang.String webdavServerUrl)
|
void |
setWebdavUsername(java.lang.String webdavUsername)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_SITE_TITLE
public static final java.lang.String FALLBACK_DEFAULT_USERS_GROUP
public static final java.lang.String DEFAULT_USERS_GROUP_ENV_VAR_KEY
public static final java.lang.String DEFAULT_DEFAULT_ENCODING
public static final java.lang.String EMAIL_ADDRESS_PUBLIC
public static final java.lang.String EMAIL_ADDRESS_MASKED
public static final java.lang.String EMAIL_ADDRESS_PRIVATE
public static final java.lang.String EMAIL_FROMNAME_DEFAULT
public static final java.lang.String DAILY_BACKUP_DIRECTORY
public static final java.lang.String ENGLISH
public static final java.lang.String GERMAN
public static final java.lang.String RUSSIAN
public static final java.lang.String CJK
public static final java.lang.String CUSTOM_JAPANESE
public static final java.lang.String CHINESE
public static final java.lang.String FRENCH
public static final java.lang.String GREEK
public static final java.lang.String BRAZILIAN
public static final java.lang.String CZECH
public static final java.lang.String LOCALE_ENGLISH
public static final java.lang.String LOCALE_GERMAN
public static final java.lang.String LOCALE_RUSSIAN
public static final java.lang.String LOCALE_JAPANESE
Constructor Detail |
---|
public Settings()
public Settings(Settings settings)
Method Detail |
---|
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 java.lang.String getSiteHomePage()
public void setSiteHomePage(java.lang.String siteHomePage)
@Deprecated public java.lang.String getSiteWelcomeMessage()
WelcomeMessageService
@Deprecated public void setSiteWelcomeMessage(java.lang.String siteWelcomeMessage)
public java.lang.String getCustomContactMessage()
public void setCustomContactMessage(java.lang.String customErrorMessage)
public boolean isShowContactAdministratorsForm()
public void setShowContactAdministratorsForm(boolean showContactAdministratorsForm)
public java.lang.String getEmailAddressVisibility()
public void setEmailAddressVisibility(java.lang.String emailAddressVisibility)
public boolean areEmailAddressesPrivate()
public long getAttachmentMaxSize()
public void setAttachmentMaxSize(long attachmentMaxSize)
public java.lang.String getDefaultEncoding()
public void setDefaultEncoding(java.lang.String defaultEncoding)
public int getMaxThumbHeight()
public int getMaxThumbWidth()
public Dimensions getMaxThumbDimensions()
public boolean isBackupAttachmentsDaily()
public void setBackupAttachmentsDaily(boolean backupAttachmentsDaily)
public java.lang.String getIndexingLanguage()
public void setIndexingLanguage(java.lang.String indexingLanguage)
public java.lang.String getGlobalDefaultLocale()
public void setGlobalDefaultLocale(java.lang.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 java.lang.String getDailyBackupFilePrefix()
public void setDailyBackupFilePrefix(java.lang.String dailyBackupFilePrefix)
public java.lang.String getDailyBackupDateFormatPattern()
public void setDailyBackupDateFormatPattern(java.lang.String dailyBackupDateFormatPattern)
public java.lang.String getSiteTitle()
public void setSiteTitle(java.lang.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)
public TimeZone getTimeZone()
TimeZone.getDefault()
public java.lang.String getDefaultSpaceHomepageTitle()
public void setDefaultSpaceHomepageTitle(java.lang.String defaultSpaceHomepageTitle)
@Deprecated public java.lang.String getDefaultSpaceHomepageContent()
@Deprecated public void setDefaultSpaceHomepageContent(java.lang.String defaultSpaceHomepageContent)
public java.lang.String getBaseUrl()
public void setBaseUrl(java.lang.String baseUrl)
public java.lang.String getAttachmentDataStore()
public void setAttachmentDataStore(java.lang.String attachmentDataStore)
public java.lang.String getWebdavServerUrl()
public void setWebdavServerUrl(java.lang.String webdavServerUrl)
public java.lang.String getWebdavUsername()
public void setWebdavUsername(java.lang.String webdavUsername)
public java.lang.String getWebdavPassword()
public void setWebdavPassword(java.lang.String webdavPassword)
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 java.lang.String getDefaultPersonalSpaceHomepageContent()
@Deprecated public void setDefaultPersonalSpaceHomepageContent(java.lang.String defaultPersonalSpaceHomepageContent)
public java.lang.String getSupportRequestEmail()
public void setSupportRequestEmail(java.lang.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 java.lang.String getBackupPath()
public void setBackupPath(java.lang.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 java.lang.String getIgnoredAdminTasks()
public void setIgnoredAdminTasks(java.lang.String ignoredAdminTasks)
public java.lang.String getDefaultUsersGroup()
public void setDefaultUsersGroup(java.lang.String defaultUsersGroup)
public AttachmentSecurityLevel getAttachmentSecurityLevel()
public void setAttachmentSecurityLevel(AttachmentSecurityLevel attachmentSecurityLevel)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |