@Deprecated public enum CacheUsage extends Enum<CacheUsage>
CacheUsage
specifies how compiled scripts should be cached.
Enum Constant and Description |
---|
ON
Deprecated.
|
REBUILD
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CacheUsage |
fromString(String usagestr)
Deprecated.
|
static CacheUsage |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static CacheUsage[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheUsage ON
public static final CacheUsage REBUILD
public static CacheUsage[] values()
for (CacheUsage c : CacheUsage.values()) System.out.println(c);
public static CacheUsage 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 static CacheUsage fromString(String usagestr)