public static enum TestConfiguration.MessageType extends Enum<TestConfiguration.MessageType>
Modifier and Type | Method and Description |
---|---|
static TestConfiguration.MessageType |
getType(String s) |
static TestConfiguration.MessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestConfiguration.MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestConfiguration.MessageType BYTES
public static final TestConfiguration.MessageType TEXT
public static final TestConfiguration.MessageType MAP
public static final TestConfiguration.MessageType OBJECT
public static TestConfiguration.MessageType[] values()
for (TestConfiguration.MessageType c : TestConfiguration.MessageType.values()) System.out.println(c);
public static TestConfiguration.MessageType 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 TestConfiguration.MessageType getType(String s) throws Exception
Exception
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.