public enum DocumentQueueType extends Enum<DocumentQueueType>
| Modifier and Type | Method and Description |
|---|---|
static DocumentQueueType |
parse(String queueType)
Parse the given string representation of the type into an instance.
|
String |
toString()
Return the name of the queue type.
|
static DocumentQueueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentQueueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentQueueType ARRAY
public static final DocumentQueueType REDIS
public static final DocumentQueueType MYSQL
public static DocumentQueueType[] values()
for (DocumentQueueType c : DocumentQueueType.values()) System.out.println(c);
public static DocumentQueueType 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<DocumentQueueType>public static DocumentQueueType parse(String queueType)
queueType - the type of queue as a string valueDocumentQueueType instance.Copyright © 2018 The International Consortium of Investigative Journalists. All rights reserved.