public enum SchemalessProtocolType extends Enum<SchemalessProtocolType>
| Modifier and Type | Method and Description |
|---|---|
static SchemalessProtocolType |
parse(String type) |
static SchemalessProtocolType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemalessProtocolType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemalessProtocolType UNKNOWN
public static final SchemalessProtocolType LINE
public static final SchemalessProtocolType TELNET
public static final SchemalessProtocolType JSON
public static SchemalessProtocolType[] values()
for (SchemalessProtocolType c : SchemalessProtocolType.values()) System.out.println(c);
public static SchemalessProtocolType 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 static SchemalessProtocolType parse(String type)
Copyright © 2022. All rights reserved.