public static enum CouchDB.CouchDBFormat extends Enum<CouchDB.CouchDBFormat>
| Enum Constant and Description |
|---|
BASIC_INTERACTION_META
The current default format, where each payload contains only basic interaction JSON document.
|
FULL_INTERACTION_META
The payload is a full interaction with augmentations.
|
| Modifier and Type | Method and Description |
|---|---|
static CouchDB.CouchDBFormat |
fromStr(String str) |
static CouchDB.CouchDBFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CouchDB.CouchDBFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CouchDB.CouchDBFormat BASIC_INTERACTION_META
public static final CouchDB.CouchDBFormat FULL_INTERACTION_META
public static CouchDB.CouchDBFormat[] values()
for (CouchDB.CouchDBFormat c : CouchDB.CouchDBFormat.values()) System.out.println(c);
public static CouchDB.CouchDBFormat 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 CouchDB.CouchDBFormat fromStr(String str)
Copyright © 2015. All Rights Reserved.