org.shoulder.batch.model.ProcessStatusEnum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shoulder-batch Show documentation
Show all versions of shoulder-batch Show documentation
Shoulder 扩展-批处理模块,提供批量数据导入、导出、异步校验、导入历史记录管理等能力。
package org.shoulder.batch.model;
public enum ProcessStatusEnum {
WAITING("未开始", 0),
RUNNING("运行中", 1),
EXCEPTION("异常终止", 2),
FINISHED("正常结束", 3),
;
private final String name;
private final int code;
ProcessStatusEnum(String name, int code) {
this.name = name;
this.code = code;
}
public String getName() {
return name;
}
public int getCode() {
return code;
}
}