public class ValidationMessage extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ValidationMessage.Builder |
| 构造器和说明 |
|---|
ValidationMessage() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
String[] |
getArguments() |
String |
getCode() |
Map<String,Object> |
getDetails() |
String |
getMessage() |
String |
getPath() |
String |
getType() |
int |
hashCode() |
static ValidationMessage |
of(String type,
ErrorMessageType errorMessageType,
String at,
Map<String,Object> details) |
static ValidationMessage |
of(String type,
ErrorMessageType errorMessageType,
String at,
String... arguments) |
(专用程序包) void |
setArguments(String[] arguments) |
(专用程序包) void |
setCode(String code) |
(专用程序包) void |
setDetails(Map<String,Object> details) |
(专用程序包) void |
setMessage(String message) |
(专用程序包) void |
setPath(String path) |
void |
setType(String type) |
String |
toString() |
public String getCode()
void setCode(String code)
public String getPath()
void setPath(String path)
public String[] getArguments()
void setArguments(String[] arguments)
public String getMessage()
void setMessage(String message)
public String getType()
public void setType(String type)
public static ValidationMessage of(String type, ErrorMessageType errorMessageType, String at, String... arguments)
public static ValidationMessage of(String type, ErrorMessageType errorMessageType, String at, Map<String,Object> details)
Copyright © 2023. All rights reserved.