public class ValidationMessage extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ValidationMessage.Builder |
Modifier and Type | Method and Description |
---|---|
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 |
setType(String type) |
String |
toString() |
public String getCode()
public String getPath()
public String[] getArguments()
public String getMessage()
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 © 2019. All rights reserved.