Module edu.hm.hafner.analysis.model
Package edu.hm.hafner.analysis.parser
Class AbstractMavenLogParser
java.lang.Object
edu.hm.hafner.analysis.IssueParser
edu.hm.hafner.analysis.LookaheadParser
edu.hm.hafner.analysis.parser.AbstractMavenLogParser
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AntJavacParser,JavacParser,JavaDocParser,MavenConsoleParser
A base class for parsers that will work on subsections of Maven build logs. These logs can be divided into sections
that are created by specific maven plugins or goals.
- Author:
- Jagruti Tiwari
- See Also:
-
Field Summary
Fields inherited from class edu.hm.hafner.analysis.LookaheadParser
ANT_TASKFields inherited from class edu.hm.hafner.analysis.IssueParser
ADDITIONAL_PROPERTIES, CATEGORY, COLUMN_END, COLUMN_START, DESCRIPTION, FILE_NAME, FINGERPRINT, ID, LINE_END, LINE_RANGE_END, LINE_RANGE_START, LINE_RANGES, LINE_START, MESSAGE, MODULE_NAME, ORIGIN, PACKAGE_NAME, SEVERITY, TYPE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractMavenLogParser(String pattern) Creates a new instance ofAbstractMavenLogParser. -
Method Summary
Methods inherited from class edu.hm.hafner.analysis.LookaheadParser
createIssue, isLineInteresting, parse, postProcessMethods inherited from class edu.hm.hafner.analysis.IssueParser
accepts, equalsIgnoreCase, isXmlFile, parseFile
-
Constructor Details
-
AbstractMavenLogParser
Creates a new instance ofAbstractMavenLogParser.- Parameters:
pattern- pattern of compiler warnings.
-
-
Method Details
-
preprocessLine
Description copied from class:LookaheadParserPreprocesses the specified line. This method is called before the line is checked for a match. Subclasses may override this empty default implementation.- Overrides:
preprocessLinein classLookaheadParser- Parameters:
line- the line to preprocess
-
getModule
-
getGoal
-
hasGoals
-