Annotation Interface ConditionalOnEnabledResourceChain


@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented @Conditional(org.springframework.boot.autoconfigure.web.OnEnabledResourceChainCondition.class) public @interface ConditionalOnEnabledResourceChain
@Conditional that checks whether the Spring resource handling chain is enabled. Matches if WebProperties.Resources.Chain.getEnabled() is true or if one of "org.webjars:webjars-locator-core", "org.webjars:webjars-locator-lite" is on the classpath.

Note that support for "org.webjars:webjars-locator-core" is deprecated.

Since:
1.3.0
Author:
Stephane Nicoll