Class Spring23Condition
java.lang.Object
com.broadleafcommerce.common.jpa.compatibility.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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
-
Constructor Details
-
Spring23Condition
public Spring23Condition()
-
-
Method Details
-
matches
public boolean matches(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata) - Specified by:
matches
in interfaceorg.springframework.context.annotation.Condition
-