Interface Condition

All Superinterfaces:
Predicate<ConditionContext>
All Known Implementing Classes:
EndpointEnabledCondition, EpollAvailabilityCondition, FileWatchCondition, HeartbeatDiscoveryClientCondition, IoUringAvailabilityCondition, KQueueAvailabilityCondition, LoomSupport.LoomCondition, MatchesAbsenceOfBeansCondition, MatchesAbsenceOfClassesCondition, MatchesAbsenceOfClassNamesCondition, MatchesConfigurationCondition, MatchesCurrentNotOsCondition, MatchesCurrentOsCondition, MatchesCustomCondition, MatchesDynamicCondition, MatchesEnvironmentCondition, MatchesMissingPropertyCondition, MatchesNotEnvironmentCondition, MatchesPresenceOfBeansCondition, MatchesPresenceOfClassesCondition, MatchesPresenceOfEntitiesCondition, MatchesPresenceOfResourcesCondition, MatchesPropertyCondition, MatchesSdkCondition, NotInNativeImage, RefreshScopeCondition, 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 Predicate<ConditionContext>
A condition allows conditional loading of a BeanConfiguration.
Since:
1.0
Author:
Graeme Rocher
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Check whether a specific condition is met.
    default boolean
     

    Methods inherited from interface java.util.function.Predicate

    and, negate, or