Package io.helidon.common.configurable
Class AllowListConfig.BuilderBase.AllowListConfigImpl
java.lang.Object
io.helidon.common.configurable.AllowListConfig.BuilderBase.AllowListConfigImpl
- All Implemented Interfaces:
Prototype.Api,Prototype.Factory<AllowList>,AllowListConfig,Supplier<AllowList>
- Enclosing class:
AllowListConfig.BuilderBase<BUILDER extends AllowListConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends AllowListConfig>
protected static class AllowListConfig.BuilderBase.AllowListConfigImpl
extends Object
implements AllowListConfig, Supplier<AllowList>
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.common.configurable.AllowListConfig
AllowListConfig.Builder, AllowListConfig.BuilderBase<BUILDER extends AllowListConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends AllowListConfig> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAllowListConfigImpl(AllowListConfig.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionbooleanallowAll()Allows all strings to match (subject to "deny" conditions).allowed()Exact strings to allow.Patterns specifying strings to allow.Allowed predicates.Prefixes specifying strings to allow.Suffixes specifying strings to allow.build()Create a new instance of the runtime type from this config object.denied()Exact strings to deny.Patterns specifying strings to deny.Deny predicates.Prefixes specifying strings to deny.Suffixes specifying strings to deny.booleanget()inthashCode()toString()
-
Constructor Details
-
AllowListConfigImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
build
Description copied from interface:Prototype.FactoryCreate a new instance of the runtime type from this config object.- Specified by:
buildin interfacePrototype.Factory<AllowList>- Returns:
- new configured runtime instance
-
get
-
allowAll
public boolean allowAll()Description copied from interface:AllowListConfigAllows all strings to match (subject to "deny" conditions). Anallow.allsetting offalsedoes not deny all strings but rather represents the absence of a universal match, meaning that other allow and deny settings determine the matching outcomes.- Specified by:
allowAllin interfaceAllowListConfig- Returns:
- whether to allow all strings to match (subject to "deny" conditions)
-
allowed
Description copied from interface:AllowListConfigExact strings to allow.- Specified by:
allowedin interfaceAllowListConfig- Returns:
- exact strings to allow
-
allowedPrefixes
Description copied from interface:AllowListConfigPrefixes specifying strings to allow.- Specified by:
allowedPrefixesin interfaceAllowListConfig- Returns:
- prefixes which allow matching
-
allowedSuffixes
Description copied from interface:AllowListConfigSuffixes specifying strings to allow.- Specified by:
allowedSuffixesin interfaceAllowListConfig- Returns:
- suffixes which allow matching
-
allowedPatterns
Description copied from interface:AllowListConfigPatterns specifying strings to allow.- Specified by:
allowedPatternsin interfaceAllowListConfig- Returns:
- patterns which allow matching
-
denied
Description copied from interface:AllowListConfigExact strings to deny.- Specified by:
deniedin interfaceAllowListConfig- Returns:
- exact strings to deny
-
deniedPrefixes
Description copied from interface:AllowListConfigPrefixes specifying strings to deny.- Specified by:
deniedPrefixesin interfaceAllowListConfig- Returns:
- prefixes which deny matching
-
deniedSuffixes
Description copied from interface:AllowListConfigSuffixes specifying strings to deny.- Specified by:
deniedSuffixesin interfaceAllowListConfig- Returns:
- suffixes which deny matching
-
deniedPatterns
Description copied from interface:AllowListConfigPatterns specifying strings to deny.- Specified by:
deniedPatternsin interfaceAllowListConfig- Returns:
- patterns which deny matching
-
allowedPredicates
Description copied from interface:AllowListConfigAllowed predicates.- Specified by:
allowedPredicatesin interfaceAllowListConfig- Returns:
- predicates to allow
-
deniedPredicates
Description copied from interface:AllowListConfigDeny predicates.- Specified by:
deniedPredicatesin interfaceAllowListConfig- Returns:
- predicates to deny
-
toString
-
equals
-
hashCode
public int hashCode()
-