Interface Condition

  • All Superinterfaces:
    java.util.function.Predicate<ConditionContext>
    All Known Implementing Classes:
    RequiresCondition, TrueCondition
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    @Introspected
    public interface Condition
    extends java.util.function.Predicate<ConditionContext>
    A condition allows conditional loading of a BeanConfiguration.
    Since:
    1.0
    • Method Detail

      • matches

        boolean matches​(ConditionContext context)
        Check whether a specific condition is met.
        Parameters:
        context - The condition context
        Returns:
        True if has been met