Class WhiteListConfigurationBuilder

java.lang.Object
org.infinispan.configuration.global.WhiteListConfigurationBuilder
All Implemented Interfaces:
Builder<WhiteListConfiguration>

@Deprecated(forRemoval=true) public class WhiteListConfigurationBuilder extends Object implements Builder<WhiteListConfiguration>
Deprecated, for removal: This API element is subject to removal in a future version.
since 12.0. Use AllowListConfigurationBuilder through @SerializationConfigurationBuilder.allowList(). Will be removed in 14.0.
  • Method Details

    • attributes

      public AttributeSet attributes()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      attributes in interface Builder<WhiteListConfiguration>
    • addClass

      public <T> WhiteListConfigurationBuilder addClass(String clazz)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Helper method that allows for registration of a class to the ClassAllowList.
    • addClasses

      public <T> WhiteListConfigurationBuilder addClasses(Class... classes)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Helper method that allows for registration of classes to the ClassAllowList.
    • addRegexp

      public <T> WhiteListConfigurationBuilder addRegexp(String regex)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Helper method that allows for registration of a regexp to the ClassAllowList.
    • addRegexps

      public <T> WhiteListConfigurationBuilder addRegexps(String... regexps)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Helper method that allows for registration of regexps to the ClassAllowList.
    • validate

      public void validate()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: Builder
      Validate the data in this builder before building the configuration bean
      Specified by:
      validate in interface Builder<WhiteListConfiguration>
    • create

      public WhiteListConfiguration create()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: Builder
      Create the configuration bean
      Specified by:
      create in interface Builder<WhiteListConfiguration>
      Returns:
    • read

      public Builder<?> read(WhiteListConfiguration template, Combine combine)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: Builder
      Reads the configuration from an already created configuration bean into this builder. Returns an appropriate builder to allow fluent configuration
      Specified by:
      read in interface Builder<WhiteListConfiguration>
      Parameters:
      template - the configuration from which to "clone" this config if needed.
      combine - the way attributes and children of this instance and the template should be combined.