org.zodiac.autoconfigure.redis.condition.ConditionalOnRedisEnabled Maven / Gradle / Ivy
package org.zodiac.autoconfigure.redis.condition;
import java.lang.annotation.ElementType;
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.commons.constants.SystemPropertiesConstants;
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
@ConditionalOnProperty(value = SystemPropertiesConstants.Zodiac.SPRING_REDIS_ENABLED, havingValue = "true")
public @interface ConditionalOnRedisEnabled {
}