public static enum IMAPSession.SessionState extends Enum<IMAPSession.SessionState>
Enum Constant and Description |
---|
AUTHENTICATED |
NOT_AUTHENTICATED |
Modifier and Type | Method and Description |
---|---|
static IMAPSession.SessionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IMAPSession.SessionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IMAPSession.SessionState NOT_AUTHENTICATED
public static final IMAPSession.SessionState AUTHENTICATED
public static IMAPSession.SessionState[] values()
for (IMAPSession.SessionState c : IMAPSession.SessionState.values()) System.out.println(c);
public static IMAPSession.SessionState 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 nullThis software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.