hudson.plugins.violations.hudson.maven
Class ViolationsMavenReporter
java.lang.Object
hudson.maven.MavenReporter
hudson.plugins.violations.hudson.maven.ViolationsMavenReporter
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.maven.MavenProjectActionBuilder, hudson.model.Describable<hudson.maven.MavenReporter>, java.io.Serializable
public class ViolationsMavenReporter
- extends hudson.maven.MavenReporter
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Method Summary |
boolean |
end(hudson.maven.MavenBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
|
ViolationsConfig |
getConfig()
Get the configuration object for this violations publisher. |
hudson.maven.MavenReporterDescriptor |
getDescriptor()
|
ViolationsConfig |
getOldConfig()
Get a copy of the configuration. |
hudson.model.Action |
getProjectAction(hudson.maven.MavenModule module)
|
boolean |
postExecute(hudson.maven.MavenBuildProxy build,
org.apache.maven.project.MavenProject pom,
hudson.maven.MojoInfo mojo,
hudson.model.BuildListener listener,
java.lang.Throwable error)
Called at the end of each maven ?goal?. |
Methods inherited from class hudson.maven.MavenReporter |
enterModule, getAggregatedProjectAction, getProjectActions, leaveModule, postBuild, preBuild, preExecute, reportGenerated |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DESCRIPTOR
@Extension
public static final ViolationsMavenDescriptor DESCRIPTOR
ViolationsMavenReporter
public ViolationsMavenReporter()
getConfig
public ViolationsConfig getConfig()
- Get the configuration object for this violations publisher.
- Returns:
- the config.
getOldConfig
public ViolationsConfig getOldConfig()
- Get a copy of the configuration.
This is used to configure a new publisher in the config.jelly
script.
- Returns:
- a copy o the config.
postExecute
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
- Called at the end of each maven ?goal?.
- so if the maven args are pmd:pmd checkstyle:checkstyle
this will get called twice.
- Overrides:
postExecute
in class hudson.maven.MavenReporter
- Throws:
java.lang.InterruptedException
java.io.IOException
end
public boolean end(hudson.maven.MavenBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws java.lang.InterruptedException,
java.io.IOException
- Overrides:
end
in class hudson.maven.MavenReporter
- Throws:
java.lang.InterruptedException
java.io.IOException
getProjectAction
public hudson.model.Action getProjectAction(hudson.maven.MavenModule module)
- Overrides:
getProjectAction
in class hudson.maven.MavenReporter
getDescriptor
public hudson.maven.MavenReporterDescriptor getDescriptor()
-
- Specified by:
getDescriptor
in interface hudson.model.Describable<hudson.maven.MavenReporter>
- Overrides:
getDescriptor
in class hudson.maven.MavenReporter
Copyright © 2004-2012. All Rights Reserved.