Enum Class ResultMessageEnum
- All Implemented Interfaces:
Serializable,Comparable<ResultMessageEnum>,Constable
Response message enumeration
响应消息枚举
- Author:
- Jon url: Jon's blog url: OpenCode.cloud
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSystem error message / 系统错误消息System OK message / 系统正常消息System success message / 系统成功消息 -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ResultMessageEnumReturns the enum constant of this class with the specified name.static ResultMessageEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SYSTEM_ERROR
System error message / 系统错误消息 -
SYSTEM_SUCCESS
System success message / 系统成功消息 -
SYSTEM_OK
System OK message / 系统正常消息
-
-
Field Details
-
value
Message value / 消息值
-
-
Constructor Details
-
ResultMessageEnum
Constructor 构造方法- Parameters:
value- Message value / 消息值
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-