Annotation Interface 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
Modifier and TypeRequired ElementDescriptionorg.springframework.boot.cloud.CloudPlatform
Thecloud platform
that must be active.
-
Element Details
-
value
org.springframework.boot.cloud.CloudPlatform valueThecloud platform
that must be active.- Returns:
- the expected cloud platform
-