hudson.plugins.findbugs.Pattern Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of findbugs Show documentation
Show all versions of findbugs Show documentation
This plug-in generates the trend report for FindBugs,
an open source program which uses static analysis to look for bugs
in Java code.
package hudson.plugins.findbugs;
/**
* Bug pattern describing a bug type.
*
* @author Ulli Hafner
*/
public class Pattern {
private String type;
private String description;
private String shortDescription;
/**
* Sets the type to the specified value.
*
* @param type
* the value to set
*/
public void setType(final String type) {
this.type = type;
}
/**
* Returns the type.
*
* @return the type
*/
public String getType() {
return type;
}
/**
* Sets the description to the specified value.
*
* @param description
* the value to set
*/
public void setDescription(final String description) {
this.description = description;
}
/**
* Returns the description.
*
* @return the description
*/
public String getDescription() {
return description;
}
/**
* Sets the shortDescription to the specified value.
*
* @param shortDescription
* the value to set
*/
public void setShortDescription(final String shortDescription) {
this.shortDescription = shortDescription;
}
/**
* Returns the shortDescription.
*
* @return the shortDescription
*/
public String getShortDescription() {
return shortDescription;
}
}