public final class StaticDeploymentContext
extends java.lang.Object
implements com.netflix.config.DeploymentContext
| Constructor and Description |
|---|
StaticDeploymentContext() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getApplicationId() |
java.lang.String |
getDeploymentDatacenter() |
java.lang.String |
getDeploymentEnvironment() |
java.lang.String |
getDeploymentRegion() |
java.lang.String |
getDeploymentServerId() |
java.lang.String |
getDeploymentStack() |
static com.netflix.config.DeploymentContext |
getInstance() |
java.lang.String |
getValue(com.netflix.config.DeploymentContext.ContextKey key) |
static void |
initialize(com.netflix.config.DeploymentContext context) |
static void |
reset() |
void |
setApplicationId(java.lang.String appId) |
void |
setDeploymentDatacenter(java.lang.String deployedAt) |
void |
setDeploymentEnvironment(java.lang.String env) |
void |
setDeploymentRegion(java.lang.String region) |
void |
setDeploymentServerId(java.lang.String serverId) |
void |
setDeploymentStack(java.lang.String stack) |
void |
setValue(com.netflix.config.DeploymentContext.ContextKey key,
java.lang.String value) |
@Inject public static void initialize(com.netflix.config.DeploymentContext context)
public static void reset()
public static com.netflix.config.DeploymentContext getInstance()
public java.lang.String getDeploymentEnvironment()
getDeploymentEnvironment in interface com.netflix.config.DeploymentContextpublic void setDeploymentEnvironment(java.lang.String env)
setDeploymentEnvironment in interface com.netflix.config.DeploymentContextpublic java.lang.String getDeploymentDatacenter()
getDeploymentDatacenter in interface com.netflix.config.DeploymentContextpublic void setDeploymentDatacenter(java.lang.String deployedAt)
setDeploymentDatacenter in interface com.netflix.config.DeploymentContextpublic java.lang.String getApplicationId()
getApplicationId in interface com.netflix.config.DeploymentContextpublic void setApplicationId(java.lang.String appId)
setApplicationId in interface com.netflix.config.DeploymentContextpublic java.lang.String getDeploymentServerId()
getDeploymentServerId in interface com.netflix.config.DeploymentContextpublic void setDeploymentServerId(java.lang.String serverId)
setDeploymentServerId in interface com.netflix.config.DeploymentContextpublic java.lang.String getDeploymentStack()
getDeploymentStack in interface com.netflix.config.DeploymentContextpublic java.lang.String getValue(com.netflix.config.DeploymentContext.ContextKey key)
getValue in interface com.netflix.config.DeploymentContextpublic void setValue(com.netflix.config.DeploymentContext.ContextKey key,
java.lang.String value)
setValue in interface com.netflix.config.DeploymentContextpublic void setDeploymentStack(java.lang.String stack)
setDeploymentStack in interface com.netflix.config.DeploymentContextpublic java.lang.String getDeploymentRegion()
getDeploymentRegion in interface com.netflix.config.DeploymentContextpublic void setDeploymentRegion(java.lang.String region)
setDeploymentRegion in interface com.netflix.config.DeploymentContext