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

    Required Elements
    Modifier and Type
    Required Element
    Description
    org.springframework.boot.cloud.CloudPlatform
    The cloud platform that must be active.
  • Element Details

    • value

      org.springframework.boot.cloud.CloudPlatform value
      The cloud platform that must be active.
      Returns:
      the expected cloud platform