@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
@Documented
@Conditional(value=org.springframework.boot.autoconfigure.condition.OnCloudPlatformCondition.class)
public @interface ConditionalOnCloudPlatform
@Conditional that matches when the specified cloud platform is
active.| Modifier and Type | Required Element and Description |
|---|---|
org.springframework.boot.cloud.CloudPlatform |
value
The
cloud platform that must be active. |