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

hudson.plugins.tasks.FixedTasksDetail Maven / Gradle / Ivy

Go to download

This plug-in scans the workspace files for open tasks and generates a trend report.

There is a newer version: 4.36-h-1
Show newest version
package hudson.plugins.tasks;

import hudson.model.AbstractBuild;
import hudson.plugins.analysis.util.model.FileAnnotation;
import hudson.plugins.analysis.views.DetailFactory;
import hudson.plugins.analysis.views.FixedWarningsDetail;

import java.util.Collection;

/**
 * Result object to visualize the fixed tasks in a build.
 *
 * @author Ulli Hafner
 */
public class FixedTasksDetail extends FixedWarningsDetail {
    /** Unique ID of this class. */
    private static final long serialVersionUID = -8592850365611555429L;

    /**
     * Creates a new instance of {@link FixedTasksDetail}.
     *
     * @param owner
     *            the current results object as owner of this action
     * @param fixedTasks
     *            all fixed tasks 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 FixedTasksDetail(final AbstractBuild owner, final Collection fixedTasks, final String defaultEncoding, final String header) {
        super(owner, new DetailFactory(), fixedTasks, defaultEncoding, header);
    }

    @Override
    public String getDisplayName() {
        return Messages.FixedTasksDetail_Name();
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy