Class OllamaAvailableCondition

java.lang.Object
com.bytedesk.ai.springai.ollama.config.OllamaAvailableCondition
All Implemented Interfaces:
org.springframework.context.annotation.Condition

public class OllamaAvailableCondition extends Object implements org.springframework.context.annotation.Condition
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final org.slf4j.Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    matches(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • logger

      private static final org.slf4j.Logger logger
  • Constructor Details

    • OllamaAvailableCondition

      public OllamaAvailableCondition()
  • Method Details

    • matches

      public boolean matches(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
      Specified by:
      matches in interface org.springframework.context.annotation.Condition