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

hudson.plugins.findbugs.tokens.FixedFindBugsWarningsTokenMacro Maven / Gradle / Ivy

Go to download

This plug-in generates the trend report for FindBugs, an open source program which uses static analysis to look for bugs in Java code.

There is a newer version: 4.48-h-2
Show newest version
package hudson.plugins.findbugs.tokens;

import hudson.Extension;
import hudson.plugins.analysis.tokens.AbstractFixedAnnotationsTokenMacro;
import hudson.plugins.findbugs.FindBugsMavenResultAction;
import hudson.plugins.findbugs.FindBugsResultAction;

/**
 * Provides a token that evaluates to the number of fixed FindBugs warnings.
 *
 * @author Ulli Hafner
 */
@Extension(optional = true)
public class FixedFindBugsWarningsTokenMacro extends AbstractFixedAnnotationsTokenMacro {
    /**
     * Creates a new instance of {@link FixedFindBugsWarningsTokenMacro}.
     */
    @SuppressWarnings("unchecked")
    public FixedFindBugsWarningsTokenMacro() {
        super("FINDBUGS_FIXED", FindBugsResultAction.class, FindBugsMavenResultAction.class);
    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy