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
ConstructorsModifierConstructorDescriptionprotected
AllowListConfigImpl
(AllowListConfig.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionboolean
allowAll()
Allows all strings to match (subject to "deny" conditions).allowed()
Exact strings to allow.Pattern
s 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.boolean
get()
int
hashCode()
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.Factory
Create a new instance of the runtime type from this config object.- Specified by:
build
in interfacePrototype.Factory<AllowList>
- Returns:
- new configured runtime instance
-
get
-
allowAll
public boolean allowAll()Description copied from interface:AllowListConfig
Allows all strings to match (subject to "deny" conditions). Anallow.all
setting offalse
does 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:
allowAll
in interfaceAllowListConfig
- Returns:
- whether to allow all strings to match (subject to "deny" conditions)
-
allowed
Description copied from interface:AllowListConfig
Exact strings to allow.- Specified by:
allowed
in interfaceAllowListConfig
- Returns:
- exact strings to allow
-
allowedPrefixes
Description copied from interface:AllowListConfig
Prefixes specifying strings to allow.- Specified by:
allowedPrefixes
in interfaceAllowListConfig
- Returns:
- prefixes which allow matching
-
allowedSuffixes
Description copied from interface:AllowListConfig
Suffixes specifying strings to allow.- Specified by:
allowedSuffixes
in interfaceAllowListConfig
- Returns:
- suffixes which allow matching
-
allowedPatterns
Description copied from interface:AllowListConfig
Pattern
s specifying strings to allow.- Specified by:
allowedPatterns
in interfaceAllowListConfig
- Returns:
- patterns which allow matching
-
denied
Description copied from interface:AllowListConfig
Exact strings to deny.- Specified by:
denied
in interfaceAllowListConfig
- Returns:
- exact strings to deny
-
deniedPrefixes
Description copied from interface:AllowListConfig
Prefixes specifying strings to deny.- Specified by:
deniedPrefixes
in interfaceAllowListConfig
- Returns:
- prefixes which deny matching
-
deniedSuffixes
Description copied from interface:AllowListConfig
Suffixes specifying strings to deny.- Specified by:
deniedSuffixes
in interfaceAllowListConfig
- Returns:
- suffixes which deny matching
-
deniedPatterns
Description copied from interface:AllowListConfig
Patterns specifying strings to deny.- Specified by:
deniedPatterns
in interfaceAllowListConfig
- Returns:
- patterns which deny matching
-
allowedPredicates
Description copied from interface:AllowListConfig
Allowed predicates.- Specified by:
allowedPredicates
in interfaceAllowListConfig
- Returns:
- predicates to allow
-
deniedPredicates
Description copied from interface:AllowListConfig
Deny predicates.- Specified by:
deniedPredicates
in interfaceAllowListConfig
- Returns:
- predicates to deny
-
toString
-
equals
-
hashCode
public int hashCode()
-