Class Spring23Condition

  • All Implemented Interfaces:
    org.springframework.context.annotation.Condition

    public class Spring23Condition
    extends Object
    implements org.springframework.context.annotation.Condition
    Condition that matches if the current spring boot version is less than or equal to 2.3.x.
    • Constructor Detail

      • Spring23Condition

        public Spring23Condition()
    • Method Detail

      • 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