public enum ScopeType extends Enum<ScopeType>
Only request and default scopes are defined for now, but others may be added.
ScopedMap
Modifier and Type | Method and Description |
---|---|
String |
getScopedKey(String key) |
String |
getScopePrefix() |
static ScopeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScopeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScopeType DEFAULT
public static final ScopeType REQUEST
public static ScopeType[] values()
for (ScopeType c : ScopeType.values()) System.out.println(c);
public static ScopeType 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 getScopePrefix()
Copyright © 2015 Nuxeo SA. All rights reserved.