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

hudson.plugins.tasks.util.model.AnnotationStream 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.13
Show newest version
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