Class WhiteListConfigurationBuilder

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

@Deprecated public class WhiteListConfigurationBuilder extends Object implements org.infinispan.commons.configuration.Builder<WhiteListConfiguration>
Deprecated.
since 12.0. Use AllowListConfigurationBuilder through @SerializationConfigurationBuilder.allowList(). Will be removed in 14.0.
  • Method Details

    • attributes

      public org.infinispan.commons.configuration.attributes.AttributeSet attributes()
      Deprecated.
      Specified by:
      attributes in interface org.infinispan.commons.configuration.Builder<WhiteListConfiguration>
    • addClass

      public <T> WhiteListConfigurationBuilder addClass(String clazz)
      Deprecated.
      Helper method that allows for registration of a class to the ClassAllowList.
    • addClasses

      public <T> WhiteListConfigurationBuilder addClasses(Class... classes)
      Deprecated.
      Helper method that allows for registration of classes to the ClassAllowList.
    • addRegexp

      public <T> WhiteListConfigurationBuilder addRegexp(String regex)
      Deprecated.
      Helper method that allows for registration of a regexp to the ClassAllowList.
    • addRegexps

      public <T> WhiteListConfigurationBuilder addRegexps(String... regexps)
      Deprecated.
      Helper method that allows for registration of regexps to the ClassAllowList.
    • validate

      public void validate()
      Deprecated.
      Specified by:
      validate in interface org.infinispan.commons.configuration.Builder<WhiteListConfiguration>
    • create

      public WhiteListConfiguration create()
      Deprecated.
      Specified by:
      create in interface org.infinispan.commons.configuration.Builder<WhiteListConfiguration>
    • read

      public org.infinispan.commons.configuration.Builder<?> read(WhiteListConfiguration template)
      Deprecated.
      Specified by:
      read in interface org.infinispan.commons.configuration.Builder<WhiteListConfiguration>