Package com.microstrategy.web.platform
Class ContainerServicesNamespace
- java.lang.Object
-
- com.microstrategy.web.platform.ContainerServicesNamespace
-
public class ContainerServicesNamespace extends java.lang.Object
This class indicates the usage of namespace in ContainerServices. If both key and value are empty, no namespace is used. If value is not empty, uses it as namespace value. If value is empty but key is not empty, we will rely on container services to provide the namespace value.- Since:
- MicroStrategy Web 8.0.2
-
-
Constructor Summary
Constructors Constructor Description ContainerServicesNamespace()
The default constructor.ContainerServicesNamespace(java.lang.String key)
The request key to looking for namespace value
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDefaultValue()
java.lang.String
getKey()
java.lang.String
getValue()
void
setDefaultValue(java.lang.String defaultValue)
void
setKey(java.lang.String key)
void
setValue(java.lang.String value)
boolean
useNamespace()
Indicate whether namespace is used
-
-
-
Method Detail
-
useNamespace
public boolean useNamespace()
Indicate whether namespace is used- Returns:
- true if either key or value is not empty.
-
getDefaultValue
public java.lang.String getDefaultValue()
-
setDefaultValue
public void setDefaultValue(java.lang.String defaultValue)
-
getKey
public java.lang.String getKey()
-
setKey
public void setKey(java.lang.String key)
-
getValue
public java.lang.String getValue()
-
setValue
public void setValue(java.lang.String value)
-
-