org.zodiac.autoconfigure.sentinel.condition.ConditionalOnFeignSentinelEnabled Maven / Gradle / Ivy
package org.zodiac.autoconfigure.sentinel.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;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@ConditionalOnProperty(name = org.zodiac.sentinel.feign.constants.SentinelFeignSystemPropertiesConstants.Spring.FEIGN_SENTINEL_ENABLED, havingValue = "true", matchIfMissing = true)
public @interface ConditionalOnFeignSentinelEnabled {
}