All Downloads are FREE. Search and download functionalities are using the official Maven repository.

hudson.plugins.analysis.views.NewWarningsDetail Maven / Gradle / Ivy

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