Class PlatformContext
java.lang.Object
org.springframework.cloud.servicebroker.model.Context
org.springframework.cloud.servicebroker.model.PlatformContext
Platform specific contextual information under which the service instance is to be
provisioned or updated.
- Author:
- Scott Frederick
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Provides a fluent API for constructing aPlatformContext
.Nested classes/interfaces inherited from class org.springframework.cloud.servicebroker.model.Context
Context.ContextBaseBuilder<R extends Context,
B extends Context.ContextBaseBuilder<R, B>> -
Field Summary
Fields inherited from class org.springframework.cloud.servicebroker.model.Context
platform, PLATFORM_KEY, properties
-
Constructor Summary
ConstructorDescriptionPlatformContext
(String platform, Map<String, Object> properties) Construct a newPlatformContext
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create a builder that provides a fluent API for constructing a Context.Get all properties in the context.Methods inherited from class org.springframework.cloud.servicebroker.model.Context
canEqual, equals, getMapProperty, getPlatform, getProperty, getStringProperty, hashCode, setMapProperty, setProperties, setStringProperty, toString
-
Constructor Details
-
PlatformContext
Construct a newPlatformContext
.- Parameters:
platform
- the name of the platformproperties
- collection of properties
-
-
Method Details
-
getProperties
Description copied from class:Context
Get all properties in the context.- Overrides:
getProperties
in classContext
- Returns:
- the collection of properties
-
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
-