Class SystemProperty.Environment (2.0.0)

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 by Value.

Inheritance

java.lang.Object > SystemProperty > SystemProperty.Environment

Methods

set(SystemProperty.Environment.Value value)

public void set(SystemProperty.Environment.Value value)

Sets the Environment to value. Equivalent to set(value.value()).

Parameter
NameDescription
valueSystemProperty.Environment.Value

value()

public @Nullable SystemProperty.Environment.Value value()

Returns the Value that the SystemProperty is set to.

Returns
TypeDescription
@org.checkerframework.checker.nullness.qual.Nullable com.google.appengine.api.utils.SystemProperty.Environment.Value

null if the Environment is not set, or is set to a value that does not correspond to any predefined Value.