Navigation Menu

Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Commit

Permalink
[JENKINS-30125] Remove deprecated signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Muñiz committed Aug 25, 2015
1 parent d914ff7 commit 9ca75f8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 149 deletions.
100 changes: 0 additions & 100 deletions src/main/java/hudson/plugins/analysis/collector/AnalysisPublisher.java
Expand Up @@ -270,104 +270,4 @@ public MatrixAggregator createAggregator(final MatrixBuild build, final Launcher
return new AnalysisAnnotationsAggregator(build, launcher, listener, this, getDefaultEncoding(),
usePreviousBuildAsReference(), useOnlyStableBuildsAsReference());
}

/**
* Creates a new instance of {@link AnalysisPublisher}.
*
* @param healthy
* Report health as 100% when the number of annotations is less
* than this value
* @param unHealthy
* Report health as 0% when the number of annotations is greater
* than this value
* @param thresholdLimit
* determines which warning priorities should be considered when
* evaluating the build stability and health
* @param defaultEncoding
* the default encoding to be used when reading and parsing files
* @param useDeltaValues
* determines whether the absolute annotations delta or the
* actual annotations set difference should be used to evaluate
* the build stability
* @param unstableTotalAll
* annotation threshold
* @param unstableTotalHigh
* annotation threshold
* @param unstableTotalNormal
* annotation threshold
* @param unstableTotalLow
* annotation threshold
* @param unstableNewAll
* annotation threshold
* @param unstableNewHigh
* annotation threshold
* @param unstableNewNormal
* annotation threshold
* @param unstableNewLow
* annotation threshold
* @param failedTotalAll
* annotation threshold
* @param failedTotalHigh
* annotation threshold
* @param failedTotalNormal
* annotation threshold
* @param failedTotalLow
* annotation threshold
* @param failedNewAll
* annotation threshold
* @param failedNewHigh
* annotation threshold
* @param failedNewNormal
* annotation threshold
* @param failedNewLow
* annotation threshold
* @param isCheckStyleActivated
* determines whether to collect the warnings from Checkstyle
* @param isDryActivated
* determines whether to collect the warnings from DRY
* @param isFindBugsActivated
* determines whether to collect the warnings from FindBugs
* @param isPmdActivated
* determines whether to collect the warnings from PMD
* @param isOpenTasksActivated
* determines whether to collect open tasks
* @param isWarningsActivated
* determines whether to collect compiler warnings
* @param canRunOnFailed
* determines whether the plug-in can run for failed builds, too
* @param usePreviousBuildAsReference
* determines whether the previous build should be used as the
* reference build
* @param useStableBuildAsReference
* determines whether only stable builds should be used as reference builds or not
* @param canComputeNew
* determines whether new warnings should be computed (with
* respect to baseline)
*/
// CHECKSTYLE:OFF
@SuppressWarnings("PMD.ExcessiveParameterList")
public AnalysisPublisher(final String healthy, final String unHealthy, final String thresholdLimit,
final String defaultEncoding, final boolean useDeltaValues,
final String unstableTotalAll, final String unstableTotalHigh, final String unstableTotalNormal, final String unstableTotalLow,
final String unstableNewAll, final String unstableNewHigh, final String unstableNewNormal, final String unstableNewLow,
final String failedTotalAll, final String failedTotalHigh, final String failedTotalNormal, final String failedTotalLow,
final String failedNewAll, final String failedNewHigh, final String failedNewNormal, final String failedNewLow,
final boolean isCheckStyleActivated, final boolean isDryActivated, final boolean isFindBugsActivated,
final boolean isPmdActivated, final boolean isOpenTasksActivated, final boolean isWarningsActivated,
final boolean canRunOnFailed,
final boolean usePreviousBuildAsReference, final boolean useStableBuildAsReference, final boolean canComputeNew) {
super(healthy, unHealthy, thresholdLimit, defaultEncoding, useDeltaValues,
unstableTotalAll, unstableTotalHigh, unstableTotalNormal, unstableTotalLow,
unstableNewAll, unstableNewHigh, unstableNewNormal, unstableNewLow,
failedTotalAll, failedTotalHigh, failedTotalNormal, failedTotalLow,
failedNewAll, failedNewHigh, failedNewNormal, failedNewLow,
canRunOnFailed, usePreviousBuildAsReference, useStableBuildAsReference, false, canComputeNew, false, PLUGIN_ID);
isDryDeactivated = !isDryActivated;
isFindBugsDeactivated = !isFindBugsActivated;
isPmdDeactivated = !isPmdActivated;
isOpenTasksDeactivated = !isOpenTasksActivated;
isWarningsDeactivated = !isWarningsActivated;
isCheckStyleDeactivated = !isCheckStyleActivated;
}
// CHECKSTYLE:ON
}
Expand Up @@ -143,36 +143,4 @@ public int getNumberOfAnnotationsByOrigin(final String origin) {
}
return 0;
}

/**
* @deprecated use {@link #AnalysisResult(Run, BuildHistory, ParserResult, String, boolean)} instead
*/
@Deprecated
AnalysisResult(final AbstractBuild<?, ?> build, final BuildHistory history,
final ParserResult result, final String defaultEncoding, final boolean canSerialize) {
this((Run<?,?>) build, history, result, defaultEncoding, canSerialize);
}

/**
* Creates a new instance of {@link AnalysisResult}.
*
* @param build
* the current build as owner of this action
* @param defaultEncoding
* the default encoding to be used when reading and parsing files
* @param result
* the parsed result with all annotations
* @param usePreviousBuildAsReference
* determines whether the previous build should be used as the
* reference build
* @param useStableBuildAsReference
* determines whether only stable builds should be used as
* reference builds or not
* @deprecated use {@link #AnalysisResult(Run, String, ParserResult, boolean, boolean)} instead
*/
@Deprecated
public AnalysisResult(final AbstractBuild<?, ?> build, final String defaultEncoding, final ParserResult result,
final boolean usePreviousBuildAsReference, final boolean useStableBuildAsReference) {
this((Run<?, ?>) build, defaultEncoding, result, usePreviousBuildAsReference, useStableBuildAsReference);
}
}
@@ -1,6 +1,5 @@
package hudson.plugins.analysis.collector;

import hudson.model.AbstractBuild;
import hudson.model.Run;

import hudson.plugins.analysis.core.AbstractResultAction;
Expand Down Expand Up @@ -42,20 +41,4 @@ public String getDisplayName() {
protected PluginDescriptor getDescriptor() {
return new AnalysisDescriptor();
}

/**
* Creates a new instance of {@link AbstractResultAction}.
*
* @param owner
* the associated build of this action
* @param healthDescriptor
* health descriptor to use
* @param result
* the result of this build
* @deprecated use {@link #AnalysisResultAction(Run, HealthDescriptor, AnalysisResult)} instead
*/
@Deprecated
public AnalysisResultAction(final AbstractBuild<?, ?> owner, final HealthDescriptor healthDescriptor, final AnalysisResult result) {
this((Run<?, ?>) owner, healthDescriptor, result);
}
}

0 comments on commit 9ca75f8

Please sign in to comment.