Interface CloudProfileProvider


public interface CloudProfileProvider
Author:
Mark Pollack
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the profile name to add to the spring environment
    boolean
    Identifies if the application is running on a cloud platform
  • Method Details

    • isCloudPlatform

      boolean isCloudPlatform(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