public enum OutputType extends Enum<OutputType>
| Enum Constant and Description |
|---|
ELASTICSEARCH |
FILE |
REST |
SOLR |
STDOUT |
| Modifier and Type | Method and Description |
|---|---|
static OutputType |
parse(String outputType)
Create an instance from a string.
|
String |
toString()
Print a friendly name for the output type.
|
static OutputType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OutputType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OutputType FILE
public static final OutputType STDOUT
public static final OutputType SOLR
public static final OutputType REST
public static final OutputType ELASTICSEARCH
public static OutputType[] values()
for (OutputType c : OutputType.values()) System.out.println(c);
public static OutputType 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 String toString()
toString in class Enum<OutputType>public static OutputType parse(String outputType)
outputType - the string to be parsed into an output typeCopyright © 2018 The International Consortium of Investigative Journalists. All rights reserved.