org.zodiac.autoconfigure.bootstrap.condition.ConditionalOnAppDiscoveryHealthIndicatorEnabled Maven / Gradle / Ivy
package org.zodiac.autoconfigure.bootstrap.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.commons.constants.SystemPropertiesConstants;
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@ConditionalOnProperty(value = SystemPropertiesConstants.Zodiac.SPRING_BOOTSTRAP_DISCOVERY_HEALTH_ENABLED, havingValue = "true", matchIfMissing = true)
public @interface ConditionalOnAppDiscoveryHealthIndicatorEnabled {
}