hudson.plugins.tasks.TasksReporterDescriptor 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.maven.MavenReporter;
import hudson.plugins.tasks.util.PluginDescriptor;
import hudson.plugins.tasks.util.ReporterDescriptor;
import net.sf.json.JSONObject;
import org.kohsuke.stapler.StaplerRequest;
/**
* Descriptor for the class {@link TasksReporter}. Used as a singleton. The
* class is marked as public so that it can be accessed from views.
*
* @author Ulli Hafner
*/
public class TasksReporterDescriptor extends ReporterDescriptor {
/**
* Creates a new instance of TasksReporterDescriptor
.
*
* @param pluginDescriptor
* the plug-in descriptor of the publisher
*/
public TasksReporterDescriptor(final PluginDescriptor pluginDescriptor) {
super(TasksReporter.class, pluginDescriptor);
}
/** {@inheritDoc} */
@Override
public String getConfigPage() {
return getViewPage(TasksPublisher.class, "config.jelly");
}
/** {@inheritDoc} */
@Override
public MavenReporter newInstance(final StaplerRequest request, final JSONObject formData) throws FormException {
return request.bindJSON(TasksReporter.class, formData);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy