Interface CloudProfileProvider
public interface CloudProfileProvider
- Author:
- Mark Pollack
-
Method Summary
Modifier and TypeMethodDescriptionGet the profile name to add to the spring environmentbooleanisCloudPlatform(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:
trueis running on a cloud platform,falseotherwise.
-
getCloudProfile
String getCloudProfile()Get the profile name to add to the spring environment- Returns:
- profile name for the cloud
-