Class AbstractLicenseCondition
java.lang.Object
org.springframework.boot.autoconfigure.condition.SpringBootCondition
cn.sliew.carp.framework.license.condition.AbstractLicenseCondition
- All Implemented Interfaces:
org.springframework.context.annotation.Condition,org.springframework.context.annotation.ConfigurationCondition
- Direct Known Subclasses:
EnterpriseLicenseCondition,ProLicenseCondition,ValidLicenseCondition
public abstract class AbstractLicenseCondition
extends org.springframework.boot.autoconfigure.condition.SpringBootCondition
implements org.springframework.context.annotation.ConfigurationCondition
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.context.annotation.ConfigurationCondition
org.springframework.context.annotation.ConfigurationCondition.ConfigurationPhase -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.context.annotation.ConfigurationCondition.ConfigurationPhaseorg.springframework.boot.autoconfigure.condition.ConditionOutcomegetMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata) Methods inherited from class org.springframework.boot.autoconfigure.condition.SpringBootCondition
anyMatches, logOutcome, matches, matchesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.annotation.Condition
matches
-
Constructor Details
-
AbstractLicenseCondition
public AbstractLicenseCondition()
-
-
Method Details
-
getConfigurationPhase
public org.springframework.context.annotation.ConfigurationCondition.ConfigurationPhase getConfigurationPhase()- Specified by:
getConfigurationPhasein interfaceorg.springframework.context.annotation.ConfigurationCondition
-
getMatchOutcome
public org.springframework.boot.autoconfigure.condition.ConditionOutcome getMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata) - Specified by:
getMatchOutcomein classorg.springframework.boot.autoconfigure.condition.SpringBootCondition
-