public enum SystemMessage extends Enum<SystemMessage> implements ImapMessage
Enum Constant and Description |
---|
FORCE_LOGOUT
Indicate that an premature termination has forced a logout without a
LOGOUT command
|
Modifier and Type | Method and Description |
---|---|
static SystemMessage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SystemMessage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SystemMessage FORCE_LOGOUT
public static SystemMessage[] values()
for (SystemMessage c : SystemMessage.values()) System.out.println(c);
public static SystemMessage 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 nullCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.