public enum PullJsonType extends java.lang.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 |
|---|---|
java.lang.String |
asString() |
PullJsonType |
fromString(java.lang.String str) |
static PullJsonType |
valueOf(java.lang.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(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 PullJsonType fromString(java.lang.String str)
str - the string to try and match to a known typepublic java.lang.String asString()
Copyright © 2017. All Rights Reserved.