java.lang.Object
org.springframework.cloud.servicebroker.model.catalog.Catalog

public class Catalog extends Object
The catalog of services offered by the service broker.

Objects of this type are constructed by the service broker application, and used to build the response to the platform.

Author:
S Greenberg, Scott Frederick
See Also:
  • Constructor Details

    • Catalog

      public Catalog()
      Construct a new Catalog.
    • Catalog

      public Catalog(List<ServiceDefinition> serviceDefinitions)
      Construct a new Catalog.
      Parameters:
      serviceDefinitions - a collection of services
  • Method Details

    • getServiceDefinitions

      public List<ServiceDefinition> getServiceDefinitions()
      Get the set of service offerings.
      Returns:
      a set of service offerings
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static Catalog.CatalogBuilder builder()
      Create a builder that provides a fluent API for constructing a Catalog.
      Returns:
      the builder