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 classValidationMessage.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)String[]getArguments()StringgetCode()Map<String,Object>getDetails()StringgetMessage()StringgetPath()StringgetType()inthashCode()static ValidationMessageof(String type, ErrorMessageType errorMessageType, String at, String... arguments)static ValidationMessageof(String type, ErrorMessageType errorMessageType, String at, Map<String,Object> details)voidsetType(String type)StringtoString()
-
-
-
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)
-
-