public enum EndpointsFlag extends java.lang.Enum<EndpointsFlag>
systemPropertyName (defined as
"endpoints." + systemPropertySuffix) to any value except a false-y oneenvVarName (defined as "ENDPOINTS_"
+ name()) to any value except a falsy one| Enum Constant and Description |
|---|
JSON_USE_JACKSON_ANNOTATIONS
When enabled, allows use of Jackson serialization annotations.
|
MAP_SCHEMA_FORCE_JSON_MAP_SCHEMA
Enables the previous behavior of Cloud Endpoints, using untyped "JsonMap" for all Map types.
|
MAP_SCHEMA_IGNORE_UNSUPPORTED_KEY_TYPES
When enabled, schema generation will not throw an error when handling Map types with keys that
are not serializable from / to string (previous Cloud Endpoints behavior).
|
MAP_SCHEMA_SUPPORT_ARRAYS_VALUES
Array values in "additionalProperties" are supported by the API Explorer, but not by the Java
client generation.
|
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
envVarName |
java.lang.String |
systemPropertyName |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnabled() |
static EndpointsFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EndpointsFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EndpointsFlag MAP_SCHEMA_FORCE_JSON_MAP_SCHEMA
public static final EndpointsFlag MAP_SCHEMA_IGNORE_UNSUPPORTED_KEY_TYPES
MAP_SCHEMA_FORCE_JSON_MAP_SCHEMA must be disabled for this to take effect. Defaults to false.public static final EndpointsFlag MAP_SCHEMA_SUPPORT_ARRAYS_VALUES
MAP_SCHEMA_FORCE_JSON_MAP_SCHEMA must
be disabled for this to take effect. Defaults to false.public static final EndpointsFlag JSON_USE_JACKSON_ANNOTATIONS
public java.lang.String envVarName
public java.lang.String systemPropertyName
public static EndpointsFlag[] values()
for (EndpointsFlag c : EndpointsFlag.values()) System.out.println(c);
public static EndpointsFlag valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isEnabled()