接口 SettingsManager

所有已知实现类:
DefaultSettingsManager

public interface SettingsManager
  • 方法详细资料

    • getSetting

      String getSetting(String name)
      Returns a value of the setting with the name specified in the request.
      参数:
      name - The setting name.
      返回:
      The setting value.
    • setSetting

      void setSetting(String name, String value)
      Sets a value for the setting with the name specified in the request.
      参数:
      name - The setting name.
      value - The setting value.
    • setSettings

      Sets the settings specified with the "Settings" object.
      参数:
      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.
      另请参阅:
    • getSettings

      Returns a map of the settings.
      返回:
      A map of the settings.
      抛出:
      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.
    • getSettingBoolean

      Boolean getSettingBoolean(String name, Boolean defaultValue)
      Returns a boolean value of the setting with the name specified in the request.
      参数:
      name - The setting name.
      defaultValue - The setting default value.
      返回:
      The setting boolean value.
    • getDocsIntegrationSdkProperties

      DocsIntegrationSdkProperties getDocsIntegrationSdkProperties()
      Returns Docs Integration SDK Properties.
      返回:
      The object DocsIntegrationSdkProperties.
    • isSecurityEnabled

      Boolean isSecurityEnabled()
      Checks whether JWT validation is enabled.
      返回:
      True if JWT validation is enabled.
    • isIgnoreSSLCertificate

      Boolean isIgnoreSSLCertificate()
      Checks whether the setting to ignore SSL certificate is enabled.
      返回:
      True if the setting to ignore SSL certificate is enabled.
    • getSecurityKey

      String getSecurityKey()
      Returns the security key.
      返回:
      The security key.
    • getSecurityHeader

      String getSecurityHeader()
      Returns the authorization header.
      返回:
      The authorization header.
    • getSecurityPrefix

      String getSecurityPrefix()
      Returns the authorization prefix.
      返回:
      The authorization prefix.
    • enableDemo

      Boolean enableDemo()
      Checks whether the demo editor is enabled.
      返回:
      True if the demo editor is enabled.
    • disableDemo

      void disableDemo()
      Disables the use of the demo editor.
    • isDemoActive

      Boolean isDemoActive()
      Checks whether the demo editor is active.
      返回:
      True if the demo editor is enabled and the demo version has not expired.
    • isDemoAvailable

      Boolean isDemoAvailable()
      Checks whether the demo editor is available.
      返回:
      True if the demo version has not expired.