Class PlatformContext

java.lang.Object
org.springframework.cloud.servicebroker.model.Context
org.springframework.cloud.servicebroker.model.PlatformContext

public class PlatformContext extends Context
Platform specific contextual information under which the service instance is to be provisioned or updated.
Author:
Scott Frederick
  • Constructor Details

    • PlatformContext

      public PlatformContext(String platform, Map<String,Object> properties)
      Construct a new PlatformContext.
      Parameters:
      platform - the name of the platform
      properties - collection of properties
  • Method Details

    • getProperties

      public Map<String,Object> getProperties()
      Description copied from class: Context
      Get all properties in the context.
      Overrides:
      getProperties in class Context
      Returns:
      the collection of properties
    • builder

      public static PlatformContext.PlatformContextBuilder builder()
      Create a builder that provides a fluent API for constructing a Context.

      This builder is provided to support testing of service implementations.

      Returns:
      the builder