com.github.houbb.logstash4j.plugins.output.constant.FileConfigEnum Maven / Gradle / Ivy
The newest version!
package com.github.houbb.logstash4j.plugins.output.constant;
public enum FileConfigEnum {
PATH("path", "文件路径", ""),
FORMAT("format", "格式化策略", "plain")
;
private final String code;
private final String desc;
private final Object defaultValue;
FileConfigEnum(String code, String desc, Object defaultValue) {
this.code = code;
this.desc = desc;
this.defaultValue = defaultValue;
}
public String getCode() {
return code;
}
public String getDesc() {
return desc;
}
public Object getDefaultValue() {
return defaultValue;
}
}