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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 class org.springframework.boot.autoconfigure.condition.SpringBootCondition