Class OnBroadleafModuleCondition
java.lang.Object
org.broadleafcommerce.common.condition.OnBroadleafModuleCondition
- All Implemented Interfaces:
org.springframework.context.annotation.Condition
public class OnBroadleafModuleCondition
extends Object
implements org.springframework.context.annotation.Condition
Detects whether or not a Broadleaf module has been registered via am
spring.factories
entry for BroadleafModuleRegistration
- Since:
- 5.2
- Author:
- Phillip Verheyden (phillipuniverse), Philip Baggett (pbaggett)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
-
Constructor Details
-
OnBroadleafModuleCondition
public OnBroadleafModuleCondition()
-
-
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
-