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

hudson.plugins.analysis.views.FixedWarningsDetail 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 fixed warnings in a build.
 *
 * @author Ulli Hafner
 */
public class FixedWarningsDetail extends AbstractAnnotationsDetail {
    /** Unique identifier of this class. */
    private static final long serialVersionUID = -8601095040123486522L;

    /**
     * Creates a new instance of FixedWarningsDetail.
     *
     * @param owner
     *            the current results object as owner of this action
     * @param detailFactory
     *            factory to create detail objects with
     * @param fixedWarnings
     *            all fixed 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 FixedWarningsDetail(final AbstractBuild owner, final DetailFactory detailFactory, final Collection fixedWarnings, final String defaultEncoding, final String header) {
        super(owner, detailFactory, fixedWarnings, defaultEncoding, header, Hierarchy.PROJECT);
    }

    /** {@inheritDoc} */
    public String getDisplayName() {
        return Messages.FixedWarningsDetail_Name();
    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy