|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.maven.MavenReporter
hudson.plugins.analysis.core.HealthAwareMavenReporter
hudson.plugins.dry.DryReporter
public class DryReporter
Publishes the results of the duplicate code analysis (maven 2 project type).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Constructor Summary | |
|---|---|
DryReporter(java.lang.String threshold,
java.lang.String newThreshold,
java.lang.String failureThreshold,
java.lang.String newFailureThreshold,
java.lang.String healthy,
java.lang.String unHealthy,
java.lang.String thresholdLimit,
boolean canRunOnFailed,
int highThreshold,
int normalThreshold)
Creates a new instance of PmdReporter. |
|
| Method Summary | |
|---|---|
protected boolean |
acceptGoal(java.lang.String goal)
|
int |
getHighThreshold()
Returns the minimum number of duplicate lines for high priority warnings. |
int |
getNormalThreshold()
Returns the minimum number of duplicate lines for high normal warnings. |
hudson.model.Action |
getProjectAction(hudson.maven.MavenModule module)
|
protected java.lang.Class<? extends hudson.model.Action> |
getResultActionClass()
|
hudson.plugins.analysis.core.ParserResult |
perform(hudson.maven.MavenBuildProxy build,
org.apache.maven.project.MavenProject pom,
hudson.maven.MojoInfo mojo,
hudson.plugins.analysis.util.PluginLogger logger)
|
protected hudson.plugins.analysis.core.BuildResult |
persistResult(hudson.plugins.analysis.core.ParserResult project,
hudson.maven.MavenBuild build)
|
| Methods inherited from class hudson.plugins.analysis.core.HealthAwareMavenReporter |
|---|
canContinue, getCanRunOnFailed, getDefaultEncoding, getFailureThreshold, getHealthy, getMinimumPriority, getNewFailureThreshold, getNewThreshold, getTargetPath, getThreshold, getThresholdLimit, getUnHealthy, postExecute |
| Methods inherited from class hudson.maven.MavenReporter |
|---|
end, enterModule, getAggregatedProjectAction, getDescriptor, getProjectActions, leaveModule, postBuild, preBuild, preExecute, reportGenerated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@DataBoundConstructor
public DryReporter(java.lang.String threshold,
java.lang.String newThreshold,
java.lang.String failureThreshold,
java.lang.String newFailureThreshold,
java.lang.String healthy,
java.lang.String unHealthy,
java.lang.String thresholdLimit,
boolean canRunOnFailed,
int highThreshold,
int normalThreshold)
PmdReporter.
threshold - Annotation threshold to be reached if a build should be considered as
unstable.newThreshold - New annotations threshold to be reached if a build should be
considered as unstable.failureThreshold - Annotation threshold to be reached if a build should be considered as
failure.newFailureThreshold - New annotations threshold to be reached if a build should be
considered as failure.healthy - Report health as 100% when the number of warnings is less than
this valueunHealthy - Report health as 0% when the number of warnings is greater
than this valuethresholdLimit - determines which warning priorities should be considered when
evaluating the build stability and healthcanRunOnFailed - determines whether the plug-in can run for failed builds, toohighThreshold - minimum number of duplicate lines for high priority warningsnormalThreshold - minimum number of duplicate lines for normal priority warnings| Method Detail |
|---|
public int getHighThreshold()
public int getNormalThreshold()
protected boolean acceptGoal(java.lang.String goal)
acceptGoal in class hudson.plugins.analysis.core.HealthAwareMavenReporter
public hudson.plugins.analysis.core.ParserResult perform(hudson.maven.MavenBuildProxy build,
org.apache.maven.project.MavenProject pom,
hudson.maven.MojoInfo mojo,
hudson.plugins.analysis.util.PluginLogger logger)
throws java.lang.InterruptedException,
java.io.IOException
perform in class hudson.plugins.analysis.core.HealthAwareMavenReporterjava.lang.InterruptedException
java.io.IOException
protected hudson.plugins.analysis.core.BuildResult persistResult(hudson.plugins.analysis.core.ParserResult project,
hudson.maven.MavenBuild build)
persistResult in class hudson.plugins.analysis.core.HealthAwareMavenReporterpublic hudson.model.Action getProjectAction(hudson.maven.MavenModule module)
getProjectAction in class hudson.maven.MavenReporterprotected java.lang.Class<? extends hudson.model.Action> getResultActionClass()
getResultActionClass in class hudson.plugins.analysis.core.HealthAwareMavenReporter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||