static enum EnvelopeFactory.MessageType extends java.lang.Enum<EnvelopeFactory.MessageType>
Enum Constant and Description |
---|
ERROR
Error message.
|
OUTBOUND
Outgoing message to be sent.
|
RESPONSE
Response to the sent message.
|
Modifier and Type | Method and Description |
---|---|
static EnvelopeFactory.MessageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnvelopeFactory.MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnvelopeFactory.MessageType OUTBOUND
public static final EnvelopeFactory.MessageType RESPONSE
public static final EnvelopeFactory.MessageType ERROR
public static EnvelopeFactory.MessageType[] values()
for (EnvelopeFactory.MessageType c : EnvelopeFactory.MessageType.values()) System.out.println(c);
public static EnvelopeFactory.MessageType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null