Class WhiteListConfigurationBuilder

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

@Deprecated(forRemoval=true, since="12.0") public class WhiteListConfigurationBuilder extends Object implements org.infinispan.commons.configuration.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 Summary

    Modifier and Type
    Method
    Description
    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(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.
    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(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.
    org.infinispan.commons.configuration.attributes.AttributeSet
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    org.infinispan.commons.configuration.Builder<?>
    read(WhiteListConfiguration template, org.infinispan.commons.configuration.Combine combine)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.infinispan.commons.configuration.Builder

    read, reset
  • Method Details

    • attributes

      public org.infinispan.commons.configuration.attributes.AttributeSet attributes()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      attributes in interface org.infinispan.commons.configuration.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.
      Specified by:
      validate in interface org.infinispan.commons.configuration.Builder<WhiteListConfiguration>
    • create

      public WhiteListConfiguration create()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      create in interface org.infinispan.commons.configuration.Builder<WhiteListConfiguration>
    • read

      public org.infinispan.commons.configuration.Builder<?> read(WhiteListConfiguration template, org.infinispan.commons.configuration.Combine combine)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      read in interface org.infinispan.commons.configuration.Builder<WhiteListConfiguration>