public static enum Redis.RedisFormat extends Enum<Redis.RedisFormat>
| Enum Constant and Description |
|---|
JSON_INTERACTION
The current default format, where each payload contains only basic interaction JSON document.
|
JSON_INTERACTION_META
The payload is a full interaction with augmentations.
|
| Modifier and Type | Method and Description |
|---|---|
static Redis.RedisFormat |
fromStr(String str) |
static Redis.RedisFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Redis.RedisFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Redis.RedisFormat JSON_INTERACTION
public static final Redis.RedisFormat JSON_INTERACTION_META
public static Redis.RedisFormat[] values()
for (Redis.RedisFormat c : Redis.RedisFormat.values()) System.out.println(c);
public static Redis.RedisFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static Redis.RedisFormat fromStr(String str)
Copyright © 2015. All Rights Reserved.