public interface CloudProfileProvider
Modifier and Type | Method and Description |
---|---|
String |
getCloudProfile()
Get the profile name to add to the spring environment
|
boolean |
isCloudPlatform(Environment environment)
Identifies if the application is running on a cloud platform
|
boolean isCloudPlatform(Environment environment)
environment
- the environment to base the decision upon.true
is running on a cloud platform, false
otherwise.String getCloudProfile()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.