Package com.networknt.schema
Class ValidationMessage
- java.lang.Object
-
- com.networknt.schema.ValidationMessage
-
public class ValidationMessage extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ValidationMessage.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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, String... arguments)
static ValidationMessage
of(String type, ErrorMessageType errorMessageType, String at, Map<String,Object> details)
void
setType(String type)
String
toString()
-
-
-
Method Detail
-
getCode
public String getCode()
-
getPath
public String getPath()
-
getArguments
public String[] getArguments()
-
getMessage
public String getMessage()
-
getType
public String getType()
-
setType
public void setType(String type)
-
of
public static ValidationMessage of(String type, ErrorMessageType errorMessageType, String at, String... arguments)
-
of
public static ValidationMessage of(String type, ErrorMessageType errorMessageType, String at, Map<String,Object> details)
-
-