public final class CloudFoundryContext extends Context
Modifier and Type | Class and Description |
---|---|
static class |
CloudFoundryContext.CloudFoundryContextBuilder
Provides a fluent API for constructing a
CloudFoundryContext |
Context.ContextBaseBuilder<R extends Context,B extends Context.ContextBaseBuilder<R,B>>
Modifier and Type | Field and Description |
---|---|
static String |
CLOUD_FOUNDRY_PLATFORM |
static String |
ORGANIZATION_GUID_KEY |
static String |
SPACE_GUID_KEY |
platform, PLATFORM_KEY, properties
Constructor and Description |
---|
CloudFoundryContext(String organizationGuid,
String spaceGuid,
Map<String,Object> properties)
Create a new CloudFoundryContext
|
Modifier and Type | Method and Description |
---|---|
static CloudFoundryContext.CloudFoundryContextBuilder |
builder()
Builder for constructing a
CloudFoundryContext |
String |
getOrganizationGuid()
Retrieve the organization GUID from the collection of platform properties
|
Map<String,Object> |
getSerializableProperties()
Avoid polluting the serialized context with duplicated keys
|
String |
getSpaceGuid()
Retrieve the space GUID from the collection of platform properties
|
canEqual, equals, getPlatform, getProperties, getProperty, getStringProperty, hashCode, toString
public static final String CLOUD_FOUNDRY_PLATFORM
public static final String ORGANIZATION_GUID_KEY
public static final String SPACE_GUID_KEY
public String getOrganizationGuid()
public Map<String,Object> getSerializableProperties()
public String getSpaceGuid()
public static CloudFoundryContext.CloudFoundryContextBuilder builder()
CloudFoundryContext