@FunctionalInterface @Introspected public interface Condition extends java.util.function.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 java.util.function.Predicate<ConditionContext>