public static enum CacheDirective.Scope extends Enum<CacheDirective.Scope>
Modifier and Type | Method and Description |
---|---|
static CacheDirective.Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheDirective.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheDirective.Scope NONE
public static final CacheDirective.Scope SESSION
public static final CacheDirective.Scope USER
public static final CacheDirective.Scope VDB
public static CacheDirective.Scope[] values()
for (CacheDirective.Scope c : CacheDirective.Scope.values()) System.out.println(c);
public static CacheDirective.Scope 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 © 2016 JBoss by Red Hat. All rights reserved.