public enum SessionType extends Enum<SessionType>
SessionType
of a TargetSession
determines which stages can be reached in the Full Feature Phase.Enum Constant and Description |
---|
DISCOVERY
The session is a discovery session.
|
NORMAL
The session is a normal session.
|
Modifier and Type | Method and Description |
---|---|
static SessionType |
getSessionType(String value)
|
String |
getValue() |
static SessionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionType DISCOVERY
public static final SessionType NORMAL
public static SessionType[] values()
for (SessionType c : SessionType.values()) System.out.println(c);
public static SessionType 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 final String getValue()
public static final SessionType getSessionType(String value)
SessionType
based on the value, which must be either Discovery
or
Normal
. Otherwise the method will return null
.value
- Discovery
or Normal
SessionType
or null
Copyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.