Annotation Type 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.- Since:
- 1.5.0
Required Element Summary
Required Elements Modifier and Type Required Element Description org.springframework.boot.cloud.CloudPlatform
value
Thecloud platform
that must be active.
Element Detail
value
org.springframework.boot.cloud.CloudPlatform value
Thecloud platform
that must be active.- Returns:
- the expected cloud platform