public interface CloudProfileProvider
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
|
boolean isCloudPlatform(org.springframework.core.env.Environment environment)
environment
- the environment to base the decision upon.true
is running on a cloud platform, false
otherwise.String getCloudProfile()
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.