public class FileAnalyser extends Object
// TODO: Example of an Eclipse/IntelliJ-like "todo" tag
Constructor and Description |
---|
FileAnalyser(TagListReport report,
List<TagClass> tagClasses)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Collection |
execute()
Execute the analysis for the configuration given by the TagListReport.
|
void |
scanFile(File file)
Scans a file to look for task tags.
|
public FileAnalyser(TagListReport report, List<TagClass> tagClasses)
report
- the MOJO that is using this analyzer.tagClasses
- the array of tag classes to use for searchingpublic Collection execute() throws org.apache.maven.reporting.MavenReportException
org.apache.maven.reporting.MavenReportException
- the Maven report exception.public void scanFile(File file)
file
- the file to scan.Copyright © 2005–2022 MojoHaus. All rights reserved.