|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.maven.MavenReporter
hudson.plugins.helpers.AbstractMavenReporterImpl
public abstract class AbstractMavenReporterImpl
| Nested Class Summary | |
|---|---|
protected static class |
AbstractMavenReporterImpl.MojoExecutionReportingMode
The reporting mode. |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Constructor Summary | |
|---|---|
AbstractMavenReporterImpl()
|
|
| Method Summary | |
|---|---|
protected boolean |
autoconfPom(hudson.maven.MavenBuildProxy build,
org.apache.maven.project.MavenProject pom,
hudson.maven.MojoInfo mojo,
hudson.model.BuildListener listener)
Called during the preExecute phase when isAutoconfMojo returns true. |
protected AbstractMavenReporterImpl.MojoExecutionReportingMode |
getExecutionMode()
Returns the execution mode that this reporter will follow. |
protected boolean |
isAutoconfMojo(hudson.maven.MojoInfo mojo)
Returns true if this mojo execution is an execution that we want to modify, i.e. |
protected abstract boolean |
isExecutingMojo(hudson.maven.MojoInfo mojo)
Returns true if this is the mojo that corresponds with execution of the task we want to report on. |
protected abstract Ghostwriter |
newGhostwriter(org.apache.maven.project.MavenProject pom,
hudson.maven.MojoInfo mojo)
Creates the configured Ghostwriter based on the information from the pom and mojo. |
boolean |
postExecute(hudson.maven.MavenBuildProxy build,
org.apache.maven.project.MavenProject pom,
hudson.maven.MojoInfo mojo,
hudson.model.BuildListener listener,
java.lang.Throwable error)
|
boolean |
preExecute(hudson.maven.MavenBuildProxy build,
org.apache.maven.project.MavenProject pom,
hudson.maven.MojoInfo mojo,
hudson.model.BuildListener listener)
|
| Methods inherited from class hudson.maven.MavenReporter |
|---|
end, enterModule, getAggregatedProjectAction, getDescriptor, getProjectAction, leaveModule, postBuild, preBuild, reportGenerated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractMavenReporterImpl()
| Method Detail |
|---|
protected AbstractMavenReporterImpl.MojoExecutionReportingMode getExecutionMode()
public boolean postExecute(hudson.maven.MavenBuildProxy build,
org.apache.maven.project.MavenProject pom,
hudson.maven.MojoInfo mojo,
hudson.model.BuildListener listener,
java.lang.Throwable error)
throws java.lang.InterruptedException,
java.io.IOException
postExecute in class hudson.maven.MavenReporterjava.lang.InterruptedException
java.io.IOExceptionprotected abstract boolean isExecutingMojo(hudson.maven.MojoInfo mojo)
true if this is the mojo that corresponds with execution of the task we want to report on.
mojo - The mojo execution.
true if this is the mojo that corresponds with execution of the task we want to report on.
protected abstract Ghostwriter newGhostwriter(org.apache.maven.project.MavenProject pom,
hudson.maven.MojoInfo mojo)
pom - The pom.mojo - The mojo for which isExecutingMojo returned true.
public boolean preExecute(hudson.maven.MavenBuildProxy build,
org.apache.maven.project.MavenProject pom,
hudson.maven.MojoInfo mojo,
hudson.model.BuildListener listener)
throws java.lang.InterruptedException,
java.io.IOException
preExecute in class hudson.maven.MavenReporterjava.lang.InterruptedException
java.io.IOException
protected boolean autoconfPom(hudson.maven.MavenBuildProxy build,
org.apache.maven.project.MavenProject pom,
hudson.maven.MojoInfo mojo,
hudson.model.BuildListener listener)
build - The build.pom - The pom which will be manipulated by this method to autoconfigure.mojo - The mojo.listener - The build listener.
true if autoconf was successful.protected boolean isAutoconfMojo(hudson.maven.MojoInfo mojo)
true if this mojo execution is an execution that we want to modify, i.e. where we want to
"fix" some of the configuration details, e.g. enable XML reports, etc.
mojo - The mojo.
true if this mojo execution is an execution that we want to modify.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||