public enum CacheRuleTypeEnum extends Enum<CacheRuleTypeEnum>
| Enum Constant and Description |
|---|
DIRECTORY |
EXACT |
FILE_SUFFIX |
URL_REGEX |
| Modifier and Type | Method and Description |
|---|---|
static CacheRuleTypeEnum |
getByValue(String value) |
String |
getDesc() |
String |
getValue() |
void |
setDesc(String desc) |
void |
setValue(String value) |
static CacheRuleTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheRuleTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheRuleTypeEnum FILE_SUFFIX
public static final CacheRuleTypeEnum DIRECTORY
public static final CacheRuleTypeEnum EXACT
public static final CacheRuleTypeEnum URL_REGEX
public static CacheRuleTypeEnum[] values()
for (CacheRuleTypeEnum c : CacheRuleTypeEnum.values()) System.out.println(c);
public static CacheRuleTypeEnum 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 getValue()
public void setValue(String value)
public String getDesc()
public void setDesc(String desc)
public static CacheRuleTypeEnum getByValue(String value)
Copyright © 2023. All rights reserved.