Class WhiteListConfigurationBuilder
- java.lang.Object
-
- org.infinispan.configuration.global.WhiteListConfigurationBuilder
-
- All Implemented Interfaces:
Builder<WhiteListConfiguration>
@Deprecated public class WhiteListConfigurationBuilder extends Object implements Builder<WhiteListConfiguration>
Deprecated.since 12.0. UseAllowListConfigurationBuilder
through @SerializationConfigurationBuilder.allowList()
. Will be removed in 14.0.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <T> WhiteListConfigurationBuilder
addClass(String clazz)
Deprecated.Helper method that allows for registration of a class to theClassAllowList
.<T> WhiteListConfigurationBuilder
addClasses(Class... classes)
Deprecated.Helper method that allows for registration of classes to theClassAllowList
.<T> WhiteListConfigurationBuilder
addRegexp(String regex)
Deprecated.Helper method that allows for registration of a regexp to theClassAllowList
.<T> WhiteListConfigurationBuilder
addRegexps(String... regexps)
Deprecated.Helper method that allows for registration of regexps to theClassAllowList
.WhiteListConfiguration
create()
Deprecated.Create the configuration beanBuilder<?>
read(WhiteListConfiguration template)
Deprecated.Reads the configuration from an already created configuration bean into this builder.void
validate()
Deprecated.Validate the data in this builder before building the configuration bean
-
-
-
Method Detail
-
addClass
public <T> WhiteListConfigurationBuilder addClass(String clazz)
Deprecated.Helper method that allows for registration of a class to theClassAllowList
.
-
addClasses
public <T> WhiteListConfigurationBuilder addClasses(Class... classes)
Deprecated.Helper method that allows for registration of classes to theClassAllowList
.
-
addRegexp
public <T> WhiteListConfigurationBuilder addRegexp(String regex)
Deprecated.Helper method that allows for registration of a regexp to theClassAllowList
.
-
addRegexps
public <T> WhiteListConfigurationBuilder addRegexps(String... regexps)
Deprecated.Helper method that allows for registration of regexps to theClassAllowList
.
-
validate
public void validate()
Deprecated.Description copied from interface:Builder
Validate the data in this builder before building the configuration bean- Specified by:
validate
in interfaceBuilder<WhiteListConfiguration>
-
create
public WhiteListConfiguration create()
Deprecated.Description copied from interface:Builder
Create the configuration bean- Specified by:
create
in interfaceBuilder<WhiteListConfiguration>
- Returns:
-
read
public Builder<?> read(WhiteListConfiguration template)
Deprecated.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 interfaceBuilder<WhiteListConfiguration>
- Parameters:
template
- the configuration from which to "clone" this config if needed.
-
-