org.zodiac.autoconfigure.zookeeper.condition.ConditionalOnZookeeperEnabled Maven / Gradle / Ivy
package org.zodiac.autoconfigure.zookeeper.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.zookeeper.constants.ZookeeperSystemPropertiesConstants;
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
@ConditionalOnProperty(value = ZookeeperSystemPropertiesConstants.SPRING_ZOOKEEPER_ENABLED, havingValue = "true")
public @interface ConditionalOnZookeeperEnabled {
}