하이퍼파라미터 기능 추가
This commit is contained in:
@@ -10,13 +10,21 @@ import lombok.Getter;
|
||||
@AllArgsConstructor
|
||||
public enum TrainStatusType implements EnumType {
|
||||
// @formatter:off
|
||||
READY("READY", "대기"),
|
||||
ING("ING", "진행중"),
|
||||
COMPLETED("COMPLETED", "완료"),
|
||||
STOPPED("STOPPED", "중단됨"),
|
||||
ERROR("ERROR", "오류");
|
||||
// @formatter:on
|
||||
READY("대기"),
|
||||
IN_PROGRESS("진행중"),
|
||||
COMPLETED("완료"),
|
||||
STOPPED("중단됨"),
|
||||
ERROR("오류");
|
||||
|
||||
private final String id;
|
||||
private final String text;
|
||||
private final String desc;
|
||||
|
||||
@Override
|
||||
public String getId() {
|
||||
return name();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getText() {
|
||||
return desc;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user