com.google.appengine.api.utils
Class SystemProperty.Environment
- java.lang.Object
-
- com.google.appengine.api.utils.SystemProperty
-
- com.google.appengine.api.utils.SystemProperty.Environment
-
- Enclosing class:
- SystemProperty
public static class SystemProperty.Environment extends SystemProperty
The current executing environment. Has the key,"com.google.appengine.runtime.environment"
. The set of values are specified byValue
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static class
SystemProperty.Environment.Value
The set of possible values for Environment.-
Nested classes/interfaces inherited from class com.google.appengine.api.utils.SystemProperty
SystemProperty.Environment
-
-
Field Summary
-
Fields inherited from class com.google.appengine.api.utils.SystemProperty
applicationId, applicationVersion, environment, instanceReplicaId, version
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
set(SystemProperty.Environment.Value value)
Sets the Environment tovalue
.SystemProperty.Environment.Value
value()
Returns the Value that the SystemProperty is set to.-
Methods inherited from class com.google.appengine.api.utils.SystemProperty
get, key, set
-
-
-
-
Method Detail
-
value
public SystemProperty.Environment.Value value()
Returns the Value that the SystemProperty is set to.- Returns:
- null if the Environment is not set, or is set to a value that
does not correspond to any predefined
Value
.
-
set
public void set(SystemProperty.Environment.Value value)
Sets the Environment tovalue
. Equivalent toset(value.value())
.
-
-