Class FunctionDetectorCondition
java.lang.Object
org.springframework.boot.autoconfigure.condition.SpringBootCondition
org.springframework.cloud.stream.binder.kafka.streams.function.FunctionDetectorCondition
- All Implemented Interfaces:
org.springframework.context.annotation.Condition
public class FunctionDetectorCondition
extends org.springframework.boot.autoconfigure.condition.SpringBootCondition
Custom
Condition
that detects the presence
of java.util.Function|Consumer beans. Used for Kafka Streams function support.- Since:
- 2.2.0
- Author:
- Soby Chacko
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.autoconfigure.condition.ConditionOutcome
getMatchOutcome
(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata) Methods inherited from class org.springframework.boot.autoconfigure.condition.SpringBootCondition
anyMatches, logOutcome, matches, matches
-
Constructor Details
-
FunctionDetectorCondition
public FunctionDetectorCondition()
-
-
Method Details
-
getMatchOutcome
public org.springframework.boot.autoconfigure.condition.ConditionOutcome getMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata) - Specified by:
getMatchOutcome
in classorg.springframework.boot.autoconfigure.condition.SpringBootCondition
-