org.eclipse.emf.ecp.core.rap.sessionprovider.test
Enum MockSessionProvider.SessionProviderType
java.lang.Object
java.lang.Enum<MockSessionProvider.SessionProviderType>
org.eclipse.emf.ecp.core.rap.sessionprovider.test.MockSessionProvider.SessionProviderType
- All Implemented Interfaces:
- Serializable, Comparable<MockSessionProvider.SessionProviderType>
- Enclosing class:
- MockSessionProvider
public static enum MockSessionProvider.SessionProviderType
- extends Enum<MockSessionProvider.SessionProviderType>
Enum Constant Summary |
DIFFERENT_SESSION_ID
|
SAME_SESSION_ID
SAME_SESSION_ID relates to test where succesive
calls are from the same session, DIFFERENT_SESSION_ID refers to
when succesive calls are form different sessions. |
SAME_SESSION_ID
public static final MockSessionProvider.SessionProviderType SAME_SESSION_ID
- SAME_SESSION_ID relates to test where succesive
calls are from the same session, DIFFERENT_SESSION_ID refers to
when succesive calls are form different sessions.
DIFFERENT_SESSION_ID
public static final MockSessionProvider.SessionProviderType DIFFERENT_SESSION_ID
values
public static MockSessionProvider.SessionProviderType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (MockSessionProvider.SessionProviderType c : MockSessionProvider.SessionProviderType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MockSessionProvider.SessionProviderType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2015. All Rights Reserved.