Class DocumentValidationReport
- java.lang.Object
-
- org.nuxeo.ecm.core.api.validation.DocumentValidationReport
-
public class DocumentValidationReport extends Object
A managed set ofValidationViolation
.- Since:
- 7.1
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ValidationViolation>
violations
-
Constructor Summary
Constructors Constructor Description DocumentValidationReport(List<ValidationViolation> violations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ValidationViolation>
asList()
boolean
hasError()
int
numberOfErrors()
String
toString()
-
-
-
Field Detail
-
violations
protected List<ValidationViolation> violations
-
-
Constructor Detail
-
DocumentValidationReport
public DocumentValidationReport(List<ValidationViolation> violations)
-
-
Method Detail
-
hasError
public boolean hasError()
-
numberOfErrors
public int numberOfErrors()
-
asList
public List<ValidationViolation> asList()
-
-