@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Documented @Conditional(value=org.springframework.boot.autoconfigure.condition.OnClassCondition.class) public @interface ConditionalOnClass
Conditional
that only matches when the specified classes are on the classpath.public abstract Class<?>[] value
name()
attribute.public abstract String[] name
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.