public enum FRLogCleanRate extends java.lang.Enum<FRLogCleanRate>
枚举常量和说明 |
---|
ONE_DAY |
ONE_MONTH |
ONE_WEEK |
THREE_MONTHS |
TWO_MONTHS |
限定符和类型 | 方法和说明 |
---|---|
static FRLogCleanRate |
getByName(java.lang.String name) |
static FRLogCleanRate |
getByRate(int rate) |
java.lang.String |
getName() |
int |
getRate() |
static FRLogCleanRate |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static FRLogCleanRate[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final FRLogCleanRate ONE_MONTH
public static final FRLogCleanRate TWO_MONTHS
public static final FRLogCleanRate THREE_MONTHS
public static final FRLogCleanRate ONE_WEEK
public static final FRLogCleanRate ONE_DAY
public static FRLogCleanRate[] values()
for (FRLogCleanRate c : FRLogCleanRate.values()) System.out.println(c);
public static FRLogCleanRate valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public static FRLogCleanRate getByName(java.lang.String name)
public static FRLogCleanRate getByRate(int rate)
public java.lang.String getName()
public int getRate()