Package org.apache.any23.validator
Class EmptyValidationReport
- java.lang.Object
-
- org.apache.any23.validator.EmptyValidationReport
-
- All Implemented Interfaces:
Serializable
,ValidationReport
@NodeName("validationReport") public class EmptyValidationReport extends Object implements ValidationReport
An implementation ofValidationReportBuilder
with no data.- Author:
- Davide Palmisano (palmisano@fbk.eu), Michele Mostarda (mostarda@fbk.eu)
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.any23.validator.ValidationReport
ValidationReport.Error, ValidationReport.FixError, ValidationReport.Issue, ValidationReport.IssueLevel, ValidationReport.RuleActivation, ValidationReport.RuleError
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ValidationReport.Error>
getErrors()
Returns the list of detected errors.static EmptyValidationReport
getInstance()
List<ValidationReport.Issue>
getIssues()
Returns the list of detected issues.List<ValidationReport.RuleActivation>
getRuleActivations()
Returns the list of activated rules.String
toString()
-
-
-
Method Detail
-
getInstance
public static EmptyValidationReport getInstance()
-
getIssues
public List<ValidationReport.Issue> getIssues()
Description copied from interface:ValidationReport
Returns the list of detected issues.- Specified by:
getIssues
in interfaceValidationReport
- Returns:
- list of detected issues.
-
getRuleActivations
public List<ValidationReport.RuleActivation> getRuleActivations()
Description copied from interface:ValidationReport
Returns the list of activated rules.- Specified by:
getRuleActivations
in interfaceValidationReport
- Returns:
- list of activated rules.
-
getErrors
public List<ValidationReport.Error> getErrors()
Description copied from interface:ValidationReport
Returns the list of detected errors.- Specified by:
getErrors
in interfaceValidationReport
- Returns:
- list of detected errors.
-
-