@FunctionalInterface public interface Condition extends Predicate<ConditionContext>
BeanConfiguration
.Modifier and Type | Method and Description |
---|---|
boolean |
matches(ConditionContext context)
Check whether a specific condition is met.
|
default boolean |
test(ConditionContext condition) |
boolean matches(ConditionContext context)
context
- The condition contextdefault boolean test(ConditionContext condition)
test
in interface Predicate<ConditionContext>