public enum ReadEnum extends Enum<ReadEnum>
| Enum Constant and Description |
|---|
app
app
|
controller
控制器
|
entity
实体
|
json
json
|
mapper
数据层
|
model
模型
|
service
业务层
|
web
web
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
static ReadEnum |
getMessage(String path)
根据状态code获取枚举名称
|
static ReadEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReadEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadEnum model
public static final ReadEnum controller
public static final ReadEnum service
public static final ReadEnum mapper
public static final ReadEnum entity
public static final ReadEnum web
public static final ReadEnum json
public static final ReadEnum app
public static ReadEnum[] values()
for (ReadEnum c : ReadEnum.values()) System.out.println(c);
public static ReadEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getMessage()
Copyright © 2023. All rights reserved.