Class CachedContentServiceCondition
java.lang.Object
org.springframework.boot.autoconfigure.condition.SpringBootCondition
org.springframework.ai.model.google.genai.autoconfigure.chat.CachedContentServiceCondition
- All Implemented Interfaces:
org.springframework.context.annotation.Condition
public class CachedContentServiceCondition
extends org.springframework.boot.autoconfigure.condition.SpringBootCondition
Condition that checks if the GoogleGenAiCachedContentService can be created.
- Since:
- 1.1.0
- Author:
- Dan Dobrin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.autoconfigure.condition.ConditionOutcomegetMatchOutcome(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
-
CachedContentServiceCondition
public CachedContentServiceCondition()
-
-
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:
getMatchOutcomein classorg.springframework.boot.autoconfigure.condition.SpringBootCondition
-