![JAR search and dependency download from the Maven repository](/logo.png)
hudson.plugins.analysis.views.NewWarningsDetail Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of analysis-core Show documentation
Show all versions of analysis-core Show documentation
This plug-in provides utilities for the static code analysis plug-ins.
The newest version!
package hudson.plugins.analysis.views;
import java.util.Collection;
import hudson.model.AbstractBuild;
import hudson.plugins.analysis.Messages;
import hudson.plugins.analysis.util.model.FileAnnotation;
/**
* Result object to visualize the new warnings in a build.
*
* @author Ulli Hafner
*/
public class NewWarningsDetail extends AbstractAnnotationsDetail {
/** Unique identifier of this class. */
private static final long serialVersionUID = 5093487322493056475L;
/**
* Creates a new instance of NewWarningsDetail
.
*
* @param owner
* the current build as owner of this action
* @param detailFactory
* factory to create detail objects with
* @param newWarnings
* all new warnings in this build
* @param defaultEncoding
* the default encoding to be used when reading and parsing files
* @param header
* header to be shown on detail page
*/
public NewWarningsDetail(final AbstractBuild, ?> owner, final DetailFactory detailFactory, final Collection newWarnings, final String defaultEncoding, final String header) {
super(owner, detailFactory, newWarnings, defaultEncoding, header, Hierarchy.PROJECT);
}
/** {@inheritDoc} */
public String getDisplayName() {
return Messages.NewWarningsDetail_Name();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy