public class PomCheckContextImpl extends XmlCheckContextImpl implements PomCheckContext
PomCheckContext.Location
XmlCheckContext.XmlDocumentLocation
Constructor and Description |
---|
PomCheckContextImpl(MavenProject project,
Document document,
File file,
XPath xPath,
SonarComponents sonarComponents) |
Modifier and Type | Method and Description |
---|---|
MavenProject |
getMavenProject() |
void |
reportIssue(PomCheck check,
int line,
String message,
List<PomCheckContext.Location> secondary) |
void |
reportIssue(PomCheck check,
LocatedTree tree,
String message) |
buildAnalyzerMessage, compile, evaluate, evaluateOnDocument, getFile, getSonarComponents, reportIssue, reportIssue, reportIssue, reportIssue, reportIssueOnFile
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compile, evaluate, evaluateOnDocument, getFile, reportIssue, reportIssue, reportIssue, reportIssue, reportIssueOnFile
public PomCheckContextImpl(MavenProject project, Document document, File file, XPath xPath, SonarComponents sonarComponents)
public MavenProject getMavenProject()
getMavenProject
in interface PomCheckContext
public void reportIssue(PomCheck check, LocatedTree tree, String message)
reportIssue
in interface PomCheckContext
public void reportIssue(PomCheck check, int line, String message, List<PomCheckContext.Location> secondary)
reportIssue
in interface PomCheckContext
Copyright © 2012–2016 SonarSource. All rights reserved.