public static enum CoreOptions.StreamingReadMode extends Enum<CoreOptions.StreamingReadMode> implements DescribedEnum
| Modifier and Type | Method and Description |
|---|---|
static CoreOptions.StreamingReadMode |
fromValue(String value) |
InlineElement |
getDescription()
Returns the description for the enum constant.
|
String |
getValue() |
String |
toString() |
static CoreOptions.StreamingReadMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoreOptions.StreamingReadMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoreOptions.StreamingReadMode LOG
public static final CoreOptions.StreamingReadMode FILE
public static CoreOptions.StreamingReadMode[] values()
for (CoreOptions.StreamingReadMode c : CoreOptions.StreamingReadMode.values()) System.out.println(c);
public static CoreOptions.StreamingReadMode 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<CoreOptions.StreamingReadMode>public InlineElement getDescription()
DescribedEnumIf you want to include links or code blocks, use TextElement.wrap(InlineElement...) to wrap multiple inline elements into a single one.
getDescription in interface DescribedEnumpublic String getValue()
@VisibleForTesting public static CoreOptions.StreamingReadMode fromValue(String value)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.