Class AllowListConfigurationBuilder
java.lang.Object
org.infinispan.configuration.global.AllowListConfigurationBuilder
- All Implemented Interfaces:
Builder<AllowListConfiguration>
public class AllowListConfigurationBuilder
extends Object
implements Builder<AllowListConfiguration>
Configures the
EmbeddedCacheManager ClassAllowList.- Since:
- 10.0
- Author:
- Ryan Emerson
-
Method Summary
Modifier and TypeMethodDescriptionHelper method that allows for registration of a class to theClassAllowList.addClasses(Class... classes) Helper method that allows for registration of classes to theClassAllowList.addClasses(String... classes) Helper method that allows for registration of classes to theClassAllowList.Helper method that allows for registration of a regexp to theClassAllowList.addRegexps(String... regexps) Helper method that allows for registration of regexps to theClassAllowList.create()Create the configuration beanBuilder<?>read(AllowListConfiguration template, Combine combine) Reads the configuration from an already created configuration bean into this builder.voidvalidate()Validate the data in this builder before building the configuration bean
-
Method Details
-
attributes
- Specified by:
attributesin interfaceBuilder<AllowListConfiguration>
-
addClass
Helper method that allows for registration of a class to theClassAllowList. -
addClasses
Helper method that allows for registration of classes to theClassAllowList. -
addClasses
Helper method that allows for registration of classes to theClassAllowList. -
addRegexp
Helper method that allows for registration of a regexp to theClassAllowList. -
addRegexps
Helper method that allows for registration of regexps to theClassAllowList. -
validate
public void validate()Description copied from interface:BuilderValidate the data in this builder before building the configuration bean- Specified by:
validatein interfaceBuilder<AllowListConfiguration>
-
create
Description copied from interface:BuilderCreate the configuration bean- Specified by:
createin interfaceBuilder<AllowListConfiguration>- Returns:
-
read
Description copied from interface:BuilderReads the configuration from an already created configuration bean into this builder. Returns an appropriate builder to allow fluent configuration- Specified by:
readin interfaceBuilder<AllowListConfiguration>- 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.
-