com.lewisd.maven.lint
Class ResultCollectorImpl
java.lang.Object
com.lewisd.maven.lint.ResultCollectorImpl
- All Implemented Interfaces:
- ResultCollector
public class ResultCollectorImpl
- extends Object
- implements ResultCollector
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultCollectorImpl
@Autowired
public ResultCollectorImpl(org.apache.maven.plugin.logging.Log log,
ViolationSuppressor violationSuppressor,
ResultWriter resultWriter)
writeSummary
public void writeSummary()
- Specified by:
writeSummary in interface ResultCollector
writeResults
public void writeResults(File outputFile,
org.apache.maven.project.MavenProject mavenProject)
- Specified by:
writeResults in interface ResultCollector
addViolation
public void addViolation(org.apache.maven.project.MavenProject mavenProject,
Rule rule,
String message,
org.apache.maven.model.InputLocation inputLocation)
- Specified by:
addViolation in interface ResultCollector
hasViolations
public boolean hasViolations()
- Specified by:
hasViolations in interface ResultCollector
Copyright © 2012. All Rights Reserved.