public enum PullJsonType extends Enum<PullJsonType>
| Enum Constant and Description |
|---|
JSON_ARRAY
Produce JSON of interaction objects
|
JSON_META
Produce JSON objects where "interactions" is a JSON array and one of several fields
|
JSON_NEW_LINE
Product a single interaction per line.
|
| Modifier and Type | Method and Description |
|---|---|
String |
asString() |
PullJsonType |
fromString(String str) |
static PullJsonType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PullJsonType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PullJsonType JSON_ARRAY
public static final PullJsonType JSON_META
public static final PullJsonType JSON_NEW_LINE
public static PullJsonType[] values()
for (PullJsonType c : PullJsonType.values()) System.out.println(c);
public static PullJsonType 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 PullJsonType fromString(String str)
str - the string to try and match to a known typepublic String asString()
Copyright © 2015. All Rights Reserved.