public class PlatformContext extends Context
| Modifier and Type | Class and Description |
|---|---|
static class |
PlatformContext.PlatformContextBuilder
Provides a fluent API for constructing a
PlatformContext. |
Context.ContextBaseBuilder<R extends Context,B extends Context.ContextBaseBuilder<R,B>>platform, PLATFORM_KEY, properties| Constructor and Description |
|---|
PlatformContext(String platform,
Map<String,Object> properties)
Construct a new
PlatformContext |
| Modifier and Type | Method and Description |
|---|---|
static PlatformContext.PlatformContextBuilder |
builder()
Create a builder that provides a fluent API for constructing a Context.
|
Map<String,Object> |
getProperties()
Get all properties in the context.
|
canEqual, equals, getPlatform, getProperty, getStringProperty, hashCode, toStringpublic PlatformContext(String platform, Map<String,Object> properties)
PlatformContextplatform - the name of the platformproperties - collection of propertiespublic Map<String,Object> getProperties()
ContextgetProperties in class Contextpublic static PlatformContext.PlatformContextBuilder builder()
This builder is provided to support testing of service implementations.