hudson.plugins.tasks.FixedTasksDetail Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tasks Show documentation
Show all versions of tasks Show documentation
This plug-in scans the workspace files for open tasks
and generates a trend report.
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();
}
}