Package com.sap.cds.services.environment
Interface ServiceBinding
- All Known Implementing Classes:
ServiceBindingAdapter
Deprecated.
An Open Service Broker API service binding
-
Method Details
-
getName
String getName()Deprecated.- Returns:
- the name of the service binding or if not available the service instance
-
getService
String getService()Deprecated.- Returns:
- the name of the service
-
getServicePlan
String getServicePlan()Deprecated.- Returns:
- the service plan
-
getTags
Deprecated.- Returns:
- the list of tags
-
getCredentials
Deprecated.- Returns:
- the credentials
-
matches
Deprecated.Returns true, if a service binding matches the given tag filter or service filter. The tag filter is used first to match the service binding. It is only used if the given tag filter is notnull
and if the service binding has a non-empty tag list (getTags()
). If the tag filter is used and no tag match can be found the serviceFilter is applied. If the tag filter is not used or has a negative result an additional service filter is applied against the service name of the binding. It is only applied if the given service filter is notnull
.- Parameters:
tagFilter
- the tag to match the tags against.serviceFilter
- the service name to match the service against.- Returns:
- true, if the service binding matches, false otherwise
-
ServiceBinding
instead.