public interface SettingsManager
| Modifier and Type | Method and Description |
|---|---|
void |
disableDemo()
Disables the use of the demo editor.
|
Boolean |
enableDemo()
Checks whether the demo editor is enabled.
|
DocsIntegrationSdkProperties |
getDocsIntegrationSdkProperties()
Returns Docs Integration SDK Properties.
|
String |
getSecurityHeader()
Returns the authorization header.
|
String |
getSecurityKey()
Returns the security key.
|
String |
getSecurityPrefix()
Returns the authorization prefix.
|
String |
getSetting(String name)
Returns a value of the setting with the name specified in the request.
|
Boolean |
getSettingBoolean(String name,
Boolean defaultValue)
Returns a boolean value of the setting with the name specified in the request.
|
Map<String,String> |
getSettings()
Returns a map of the settings.
|
Boolean |
isDemoActive()
Checks whether the demo editor is active.
|
Boolean |
isDemoAvailable()
Checks whether the demo editor is available.
|
Boolean |
isIgnoreSSLCertificate()
Checks whether the setting to ignore SSL certificate is enabled.
|
Boolean |
isSecurityEnabled()
Checks whether JWT validation is enabled.
|
void |
setSetting(String name,
String value)
Sets a value for the setting with the name specified in the request.
|
void |
setSettings(Settings settings)
Sets the settings specified with the "Settings" object.
|
String getSetting(String name)
name - The setting name.void setSetting(String name, String value)
name - The setting name.value - The setting value.void setSettings(Settings settings) throws IntrospectionException, InvocationTargetException, IllegalAccessException
settings - The settings to be set.IntrospectionException - If the processing fails unexpectedly.InvocationTargetException - – If the underlying method throws an exception.IllegalAccessException - – If this Method object is enforcing Java language access control and the
underlying method is inaccessible.SettingsMap<String,String> getSettings() throws IntrospectionException, InvocationTargetException, IllegalAccessException
IntrospectionException - If the processing fails unexpectedly.InvocationTargetException - – If the underlying method throws an exception.IllegalAccessException - – If this Method object is enforcing Java language access control and the
underlying method is inaccessible.Boolean getSettingBoolean(String name, Boolean defaultValue)
name - The setting name.defaultValue - The setting default value.DocsIntegrationSdkProperties getDocsIntegrationSdkProperties()
DocsIntegrationSdkProperties.Boolean isSecurityEnabled()
Boolean isIgnoreSSLCertificate()
String getSecurityKey()
String getSecurityHeader()
String getSecurityPrefix()
Boolean enableDemo()
void disableDemo()
Boolean isDemoActive()
Boolean isDemoAvailable()
Copyright © 2023–2024. All rights reserved.