public enum SessionState extends Enum<SessionState>
Enum Constant and Description |
---|
ACTIVE |
BEGIN_RECVD |
BEGIN_SENT |
END_PIPE |
END_RECVD |
END_SENT |
ENDED |
INACTIVE |
Modifier and Type | Method and Description |
---|---|
static SessionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionState ACTIVE
public static final SessionState INACTIVE
public static final SessionState BEGIN_SENT
public static final SessionState END_PIPE
public static final SessionState BEGIN_RECVD
public static final SessionState END_SENT
public static final SessionState END_RECVD
public static final SessionState ENDED
public static SessionState[] values()
for (SessionState c : SessionState.values()) System.out.println(c);
public static 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 nullCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.