public class EclipseParser extends RegexpDocumentParser
| Modifier and Type | Field and Description |
|---|---|
static String |
ANT_ECLIPSE_WARNING_PATTERN
Pattern for eclipse warnings.
|
ANT_TASK| Constructor and Description |
|---|
EclipseParser()
Creates a new instance of
EclipseParser. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(ReaderFactory readerFactory)
Returns whether this parser accepts the specified file as valid input.
|
protected Optional<Issue> |
createIssue(Matcher matcher,
IssueBuilder builder)
Creates a new issue for the specified pattern.
|
parseconfigureIssueBuilder, findIssuesisXmlFilepublic static final String ANT_ECLIPSE_WARNING_PATTERN
public EclipseParser()
EclipseParser.public boolean accepts(ReaderFactory readerFactory)
IssueParseraccepts in class IssueParserreaderFactory - provides a reader to the reportstrue if this parser accepts this file as valid input, or false if the file could not be
parsed by this parserprotected Optional<Issue> createIssue(Matcher matcher, IssueBuilder builder)
RegexpParserOptional.empty() to ignore this warning.createIssue in class RegexpParsermatcher - the regular expression matcherbuilder - the issue builder to useCopyright © 2018. All rights reserved.