アノテーションインターフェース ConditionalOnEnabledResourceChain
@TargetSE({TYPESE,METHODSE})
@RetentionSE(RUNTIMESE)
@DocumentedSE
@Conditional(org.springframework.boot.autoconfigure.web.OnEnabledResourceChainCondition.class)
public @interface ConditionalOnEnabledResourceChain
チェーンを処理する Spring リソースが有効かどうかをチェックする
@Conditional。WebProperties.Resources.Chain.getEnabled() が true であるか、"org.webjars:webjars-locator-core"、"org.webjars:webjars-locator-lite" のいずれかがクラスパス上にある場合に一致します。"org.webjars:webjars-locator-core" のサポートは非推奨であることに注意してください。
- 導入:
- 1.3.0
- 作成者:
- Stephane Nicoll