public enum LogbackMethod extends Enum<LogbackMethod>
| 枚举常量和说明 |
|---|
DOWNLOAD_FILE
下载文件
|
FILTER
过滤级别
|
GET_CSS_FILE
获取CSS文件
|
LEVEL
修改级别
|
LIST
所有文件列表
|
LOAD_FILE
全量载入文件
|
TAIL_FILE
实时载入文件
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getCode() |
String |
getDescription() |
static LogbackMethod |
getTypeByCode(String code) |
void |
setCode(String code) |
void |
setDescription(String description) |
static LogbackMethod |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static LogbackMethod[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final LogbackMethod LEVEL
public static final LogbackMethod FILTER
public static final LogbackMethod LOAD_FILE
public static final LogbackMethod TAIL_FILE
public static final LogbackMethod DOWNLOAD_FILE
public static final LogbackMethod LIST
public static final LogbackMethod GET_CSS_FILE
public static LogbackMethod[] values()
for (LogbackMethod c : LogbackMethod.values()) System.out.println(c);
public static LogbackMethod valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getCode()
public void setCode(String code)
public String getDescription()
public void setDescription(String description)
public static LogbackMethod getTypeByCode(String code)
Copyright © 2020. All rights reserved.