批注接口 ConditionalOnCloudPlatform
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Documented
@Conditional(org.springframework.boot.autoconfigure.condition.OnCloudPlatformCondition.class)
public @interface ConditionalOnCloudPlatform
@Conditional
that matches when the specified cloud platform is
active.- 从以下版本开始:
- 1.5.0
- 作者:
- Madhura Bhave
-
必需元素概要
所需元素
-
元素详细资料
-
value
CloudPlatform valueThecloud platform
that must be active.- 返回:
- the expected cloud platform
-