|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object hudson.maven.MavenReporter hudson.plugins.helpers.AbstractMavenReporterImpl
public abstract class AbstractMavenReporterImpl
An abstract MavenReporter that is designed to work with a Ghostwriter.
入れ子のクラスの概要 | |
---|---|
protected static class |
AbstractMavenReporterImpl.MojoExecutionReportingMode
The reporting mode. |
インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース |
---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
コンストラクタの概要 | |
---|---|
AbstractMavenReporterImpl()
|
メソッドの概要 | |
---|---|
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. where we want to
"fix" some of the configuration details, e.g. enable XML reports, etc. |
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,
Throwable error)
|
boolean |
preExecute(hudson.maven.MavenBuildProxy build,
org.apache.maven.project.MavenProject pom,
hudson.maven.MojoInfo mojo,
hudson.model.BuildListener listener)
|
クラス hudson.maven.MavenReporter から継承されたメソッド |
---|
end, enterModule, getAggregatedProjectAction, getDescriptor, getProjectAction, getProjectActions, leaveModule, postBuild, preBuild, reportGenerated |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public AbstractMavenReporterImpl()
メソッドの詳細 |
---|
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, Throwable error) throws InterruptedException, IOException
hudson.maven.MavenReporter
内の postExecute
InterruptedException
IOException
protected 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 InterruptedException, IOException
hudson.maven.MavenReporter
内の preExecute
InterruptedException
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.
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |