PomCheckContext, XmlCheckContextpublic class PomCheckContextImpl extends XmlCheckContextImpl implements PomCheckContext
PomCheckContext.LocationXmlCheckContext.XmlDocumentLocation| Constructor | Description |
|---|---|
PomCheckContextImpl(org.sonar.maven.model.maven2.MavenProject project,
Document document,
File file,
XPath xPath,
SonarComponents sonarComponents) |
| Modifier and Type | Method | Description |
|---|---|---|
org.sonar.maven.model.maven2.MavenProject |
getMavenProject() |
|
void |
reportIssue(PomCheck check,
int line,
String message,
List<PomCheckContext.Location> secondary) |
|
void |
reportIssue(PomCheck check,
org.sonar.maven.model.LocatedTree tree,
String message) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompile, evaluate, evaluateOnDocument, getFile, reportIssue, reportIssue, reportIssue, reportIssue, reportIssueOnFilebuildAnalyzerMessage, compile, evaluate, evaluateOnDocument, getFile, getSonarComponents, reportIssue, reportIssue, reportIssue, reportIssue, reportIssueOnFilepublic PomCheckContextImpl(org.sonar.maven.model.maven2.MavenProject project,
Document document,
File file,
XPath xPath,
SonarComponents sonarComponents)
public org.sonar.maven.model.maven2.MavenProject getMavenProject()
getMavenProject in interface PomCheckContextpublic void reportIssue(PomCheck check, org.sonar.maven.model.LocatedTree tree, String message)
reportIssue in interface PomCheckContextpublic void reportIssue(PomCheck check, int line, String message, List<PomCheckContext.Location> secondary)
reportIssue in interface PomCheckContextCopyright © 2012–2018 SonarSource. All rights reserved.