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

hudson.plugins.findbugs.parser.XmlBugInstance 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.parser;

/**
 * Java Bean to create the mapping of hash codes to messages using the Digester
 * XML parser.
 *
 * @author Ulli Hafner
 */
public class XmlBugInstance {
    /** Unique ID of a bug. */
    private String instanceHash;
    private String message;

    /**
     * Returns the hash code of this bug.
     *
     * @return the hash code
     */
    public String getInstanceHash() {
        return instanceHash;
    }

    /**
     * Sets the hash to the specified value.
     *
     * @param instanceHash
     *            the value to set
     */
    public void setInstanceHash(final String instanceHash) {
        this.instanceHash = instanceHash;
    }

    /**
     * Returns the message for this bug.
     *
     * @return the message
     */
    public String getMessage() {
        return message;
    }

    /**
     * Sets the message to the specified value.
     *
     * @param message
     *            the value to set
     */
    public void setMessage(final String message) {
        this.message = message;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy