public enum GlobalScope extends Enum<GlobalScope>
| Enum Constant and Description |
|---|
APPLICATION |
EXECUTION |
REQUEST |
SESSION |
| Modifier and Type | Method and Description |
|---|---|
static GlobalScope |
getScope(String code) |
String |
toString() |
static GlobalScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GlobalScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GlobalScope EXECUTION
public static final GlobalScope REQUEST
public static final GlobalScope SESSION
public static final GlobalScope APPLICATION
public static GlobalScope[] values()
for (GlobalScope c : GlobalScope.values()) System.out.println(c);
public static GlobalScope 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 String toString()
toString in class Enum<GlobalScope>public static GlobalScope getScope(String code)
Copyright © 2015. All rights reserved.