Package com.alibaba.cloud.nacos
Class NacosConfigEnabledCondition
java.lang.Object
com.alibaba.cloud.nacos.NacosConfigEnabledCondition
- All Implemented Interfaces:
org.springframework.context.annotation.Condition
public class NacosConfigEnabledCondition
extends Object
implements org.springframework.context.annotation.Condition
- Author:
- shiyiyue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatches(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
-
Constructor Details
-
NacosConfigEnabledCondition
public NacosConfigEnabledCondition()
-
-
Method Details
-
matches
public boolean matches(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata) - Specified by:
matchesin interfaceorg.springframework.context.annotation.Condition
-