public final class EnvironmentFilterSpecification extends Object
EnvironmentEndpointFilter (if one is defined) each time the EnvironmentEndpoint
is invoked.| Modifier and Type | Method and Description |
|---|---|
@NotNull EnvironmentFilterSpecification |
exclude(Pattern... keyPatterns)
Adds regular expression patterns to the list of known masks.
|
@NotNull EnvironmentFilterSpecification |
exclude(@NotNull Predicate<String> keyPredicate)
Adds a predicate to test property keys.
|
@NotNull EnvironmentFilterSpecification |
exclude(String... keys)
Adds literal strings to the list of excluded keys.
|
@NotNull EnvironmentFilterSpecification |
legacyMasking()
Configures the key masking to behave as it did prior to 3.3.0.
|
@NotNull EnvironmentFilterSpecification |
maskAll()
Turn on global masking.
|
@NotNull EnvironmentFilterSpecification |
maskNone()
Turn off global masking.
|
@NotNull public @NotNull EnvironmentFilterSpecification maskAll()
@NotNull public @NotNull EnvironmentFilterSpecification maskNone()
@NotNull public @NotNull EnvironmentFilterSpecification exclude(@NotNull @NotNull Predicate<String> keyPredicate)
maskAll() flag is set
then this will be used for exceptions (values in clear-text). If the maskNone()
flag is set then this will be those values that are masked.keyPredicate - A predicate to match against property keys for masking@NotNull public @NotNull EnvironmentFilterSpecification exclude(@NotNull String... keys)
maskAll() flag is set
then this list will be used for exceptions (values in clear-text). If the maskNone()
flag is set then this list will be those values that are masked.keys - Literal keys that should be excluded@NotNull public @NotNull EnvironmentFilterSpecification exclude(@NotNull Pattern... keyPatterns)
maskAll() flag is set
then this list will be used for exceptions (values in clear-text). If the maskNone()
flag is set then this list will be those values that are masked. Patterns must match
the entire property key.keyPatterns - The patterns used to compare keys to exclude them@NotNull public @NotNull EnvironmentFilterSpecification legacyMasking()