org.springframework.cloud.dataflow.server.config

## Interface CloudProfileProvider

-     public interface CloudProfileProvider

  Author:
    Mark Pollack

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getCloudProfile()` Get the profile name to add to the spring environment
    `boolean` | `isCloudPlatform(org.springframework.core.env.Environment environment)` Identifies if the application is running on a cloud platform

- - ### Method Detail

    - #### isCloudPlatform

          boolean isCloudPlatform(org.springframework.core.env.Environment environment)

      Identifies if the application is running on a cloud platform
      Parameters:
        `environment` - the environment to base the decision upon.
      Returns:
        `true` is running on a cloud platform, `false` otherwise.

    - #### getCloudProfile

          String getCloudProfile()

      Get the profile name to add to the spring environment
      Returns:
        profile name for the cloud

Copyright © 2021 Pivotal Software, Inc.. All rights reserved.