Interface CloudProfileProvider
public interface CloudProfileProvider
- Author:
- Mark Pollack
-
Method Summary
Modifier and TypeMethodDescriptionGet the profile name to add to the spring environmentboolean
isCloudPlatform
(Environment environment) Identifies if the application is running on a cloud platform
-
Method Details
-
isCloudPlatform
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
-