hudson.plugins.tasks.util.model.AnnotationStream 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.util.model;
import hudson.util.StringConverter2;
import hudson.util.XStream2;
/**
* An XStream for annotations.
*/
public class AnnotationStream extends XStream2 {
/**
* Creates a new instance of AnnotationStream
.
*/
public AnnotationStream() {
super();
alias("annotation", FileAnnotation.class);
registerConverter(new StringConverter2(), 100);
registerConverter(new Priority.PriorityConverter(), 100);
addImmutableType(Priority.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy