org.zodiac.autoconfigure.apollo.condition.ConditionalOnApolloEnabled Maven / Gradle / Ivy
package org.zodiac.autoconfigure.apollo.condition;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.zodiac.apollo.sdk.constants.ApolloSystemPropertiesConstants;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@ConditionalOnProperty(value = ApolloSystemPropertiesConstants.Zodiac.APOLLO_ENABLED, havingValue = "true")
public @interface ConditionalOnApolloEnabled {
}