Package org.apache.johnzon.jsonschema
Class ValidationResult
- java.lang.Object
-
- org.apache.johnzon.jsonschema.ValidationResult
-
public class ValidationResult extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ValidationResult.ValidationError
-
Field Summary
Fields Modifier and Type Field Description private Collection<ValidationResult.ValidationError>
errors
-
Constructor Summary
Constructors Constructor Description ValidationResult()
ValidationResult(Collection<ValidationResult.ValidationError> errors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<ValidationResult.ValidationError>
getErrors()
boolean
isSuccess()
void
setErrors(Collection<ValidationResult.ValidationError> errors)
String
toString()
-
-
-
Field Detail
-
errors
private Collection<ValidationResult.ValidationError> errors
-
-
Constructor Detail
-
ValidationResult
public ValidationResult()
-
ValidationResult
ValidationResult(Collection<ValidationResult.ValidationError> errors)
-
-
Method Detail
-
isSuccess
public boolean isSuccess()
-
getErrors
public Collection<ValidationResult.ValidationError> getErrors()
-
setErrors
public void setErrors(Collection<ValidationResult.ValidationError> errors)
-
-