public interface ServiceBinding
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getCredentials() |
String |
getName() |
String |
getService() |
String |
getServicePlan() |
List<String> |
getTags() |
default boolean |
matches(String tagFilter,
String serviceFilter)
Returns true, if a service binding matches the given tag filter or service filter.
|
String getName()
String getService()
String getServicePlan()
default boolean matches(String tagFilter, String serviceFilter)
null
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 not null
.tagFilter
- the tag to match the tags against.serviceFilter
- the service name to match the service against.Copyright © 2023. All rights reserved.