Interface ServiceBinding

All Known Implementing Classes:
ServiceBindingAdapter

@Deprecated(since="2.0.0") public interface ServiceBinding
Deprecated.
Use ServiceBinding instead.
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

      List<String> getTags()
      Deprecated.
      Returns:
      the list of tags
    • getCredentials

      Map<String,Object> getCredentials()
      Deprecated.
      Returns:
      the credentials
    • matches

      default boolean matches(String tagFilter, String serviceFilter)
      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 not 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.
      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