Class AllowListConfigurationBuilder

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

public class AllowListConfigurationBuilder extends Object implements org.infinispan.commons.configuration.Builder<AllowListConfiguration>
Configures the EmbeddedCacheManager ClassAllowList.
Since:
10.0
Author:
Ryan Emerson
  • Method Details

    • attributes

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

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

      public <T> AllowListConfigurationBuilder addClasses(String... classes)
      Helper method that allows for registration of classes to the ClassAllowList.
    • addClasses

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

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

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

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

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

      public org.infinispan.commons.configuration.Builder<?> read(AllowListConfiguration template, org.infinispan.commons.configuration.Combine combine)
      Specified by:
      read in interface org.infinispan.commons.configuration.Builder<AllowListConfiguration>