Class ObfuscatorPropertiesCondition
java.lang.Object
org.springframework.boot.autoconfigure.condition.SpringBootCondition
com.github.robtimus.obfuscation.spring.boot.autoconfigure.ObfuscatorPropertiesCondition
- All Implemented Interfaces:
Condition
A condition for
ObfuscatorProperties
. This class allows matching of ObfuscatorProperties
for any prefix.
It will match if any of the known properties of ObfuscatorProperties
is set.- Author:
- Rob Spoor
-
Constructor Summary
ModifierConstructorDescriptionprotected
ObfuscatorPropertiesCondition
(String prefix) Creates a new condition. -
Method Summary
Modifier and TypeMethodDescriptiongetMatchOutcome
(ConditionContext context, AnnotatedTypeMetadata metadata) Methods inherited from class org.springframework.boot.autoconfigure.condition.SpringBootCondition
anyMatches, logOutcome, matches, matches
-
Constructor Details
-
ObfuscatorPropertiesCondition
Creates a new condition.- Parameters:
prefix
- The property prefix to use.
-
-
Method Details
-
getMatchOutcome
- Specified by:
getMatchOutcome
in classSpringBootCondition
-