public class HerokuConnector extends AbstractCloudConnector<HerokuConnector.KeyValuePair>
| Modifier and Type | Class and Description |
|---|---|
static class |
HerokuConnector.KeyValuePair |
serviceInfoCreators| Constructor and Description |
|---|
HerokuConnector() |
| Modifier and Type | Method and Description |
|---|---|
ApplicationInstanceInfo |
getApplicationInstanceInfo()
Get information about the application instance.
|
protected FallbackServiceInfoCreator<BaseServiceInfo,HerokuConnector.KeyValuePair> |
getFallbackServiceInfoCreator() |
protected List<HerokuConnector.KeyValuePair> |
getServicesData()
Return object representation of the bound services
|
boolean |
isInMatchingCloud()
Is the connector operating in its matching cloud?
Classes such as
CloudFactory may use this method to select an appropriate connector. |
protected void |
registerServiceInfoCreator(ServiceInfoCreator<? extends ServiceInfo,HerokuConnector.KeyValuePair> serviceInfoCreator) |
getServiceInfospublic boolean isInMatchingCloud()
CloudConnectorCloudFactory may use this method to select an appropriate connector.public ApplicationInstanceInfo getApplicationInstanceInfo()
CloudConnector
This method cannot return null, since that would imply there is no application instance.
protected void registerServiceInfoCreator(ServiceInfoCreator<? extends ServiceInfo,HerokuConnector.KeyValuePair> serviceInfoCreator)
registerServiceInfoCreator in class AbstractCloudConnector<HerokuConnector.KeyValuePair>protected List<HerokuConnector.KeyValuePair> getServicesData()
Returns map whose key is the env key and value is the associated url
getServicesData in class AbstractCloudConnector<HerokuConnector.KeyValuePair>protected FallbackServiceInfoCreator<BaseServiceInfo,HerokuConnector.KeyValuePair> getFallbackServiceInfoCreator()
getFallbackServiceInfoCreator in class AbstractCloudConnector<HerokuConnector.KeyValuePair>