Package org.sonar.java.xml.maven
Class PomCheckContextImpl
- java.lang.Object
-
- org.sonar.java.xml.XmlCheckContextImpl
-
- org.sonar.java.xml.maven.PomCheckContextImpl
-
- All Implemented Interfaces:
PomCheckContext
,XmlCheckContext
public class PomCheckContextImpl extends XmlCheckContextImpl implements PomCheckContext
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.sonar.java.xml.maven.PomCheckContext
PomCheckContext.Location
-
Nested classes/interfaces inherited from interface org.sonar.java.xml.XmlCheckContext
XmlCheckContext.XmlDocumentLocation
-
-
Constructor Summary
Constructors Constructor Description PomCheckContextImpl(org.sonar.maven.model.maven2.MavenProject project, Document document, File file, XPath xPath, SonarComponents sonarComponents)
-
Method Summary
All Methods Instance Methods Concrete Methods 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)
-
Methods inherited from class org.sonar.java.xml.XmlCheckContextImpl
buildAnalyzerMessage, compile, evaluate, evaluateOnDocument, getFile, getSonarComponents, reportIssue, reportIssue, reportIssue, reportIssue, reportIssueOnFile
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.sonar.java.xml.XmlCheckContext
compile, evaluate, evaluateOnDocument, getFile, reportIssue, reportIssue, reportIssue, reportIssue, reportIssueOnFile
-
-
-
-
Constructor Detail
-
PomCheckContextImpl
public PomCheckContextImpl(org.sonar.maven.model.maven2.MavenProject project, Document document, File file, XPath xPath, SonarComponents sonarComponents)
-
-
Method Detail
-
getMavenProject
public org.sonar.maven.model.maven2.MavenProject getMavenProject()
- Specified by:
getMavenProject
in interfacePomCheckContext
-
reportIssue
public void reportIssue(PomCheck check, org.sonar.maven.model.LocatedTree tree, String message)
- Specified by:
reportIssue
in interfacePomCheckContext
-
reportIssue
public void reportIssue(PomCheck check, int line, String message, List<PomCheckContext.Location> secondary)
- Specified by:
reportIssue
in interfacePomCheckContext
-
-