Package com.sap.cds.services.environment
Class ServiceBindingAdapter
java.lang.Object
com.sap.cds.services.environment.ServiceBindingAdapter
- All Implemented Interfaces:
ServiceBinding
@Deprecated(since="2.0.0")
public class ServiceBindingAdapter
extends Object
implements ServiceBinding
Deprecated.
Adapts a
ServiceBinding
to a ServiceBinding
-
Constructor Summary
ConstructorDescriptionServiceBindingAdapter
(com.sap.cloud.environment.servicebinding.api.ServiceBinding binding) Deprecated. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sap.cds.services.environment.ServiceBinding
matches
-
Constructor Details
-
ServiceBindingAdapter
public ServiceBindingAdapter(com.sap.cloud.environment.servicebinding.api.ServiceBinding binding) Deprecated.
-
-
Method Details
-
getName
Deprecated.- Specified by:
getName
in interfaceServiceBinding
- Returns:
- the name of the service binding or if not available the service instance
-
getService
Deprecated.- Specified by:
getService
in interfaceServiceBinding
- Returns:
- the name of the service
-
getServicePlan
Deprecated.- Specified by:
getServicePlan
in interfaceServiceBinding
- Returns:
- the service plan
-
getTags
Deprecated.- Specified by:
getTags
in interfaceServiceBinding
- Returns:
- the list of tags
-
getCredentials
Deprecated.- Specified by:
getCredentials
in interfaceServiceBinding
- Returns:
- the credentials
-
ServiceBinding
instead.