public class LintAnnotation
extends hudson.plugins.analysis.util.model.AbstractAnnotation
| Constructor and Description |
|---|
LintAnnotation(hudson.plugins.analysis.util.model.Priority priority,
String message,
String category,
String type,
int lineNumber)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLocation(Location location)
Adds an additional location where this issue occurs.
|
List<String> |
getErrorLines() |
Collection<Location> |
getLocations() |
String |
getToolTip() |
void |
setErrorLines(String... lines)
Sets the error lines for this issue.
|
void |
setExplanation(String explanation) |
addLineRange, canDisplayFile, compareTo, equals, getCategory, getContextHashCode, getFileName, getKey, getLineRanges, getLinkLineNumber, getLinkName, getMessage, getModuleName, getOrigin, getPackageName, getPathName, getPrimaryLineNumber, getPriority, getShortFileName, getTempName, getType, hashCode, hasPackageName, intern, intern, setColumnPosition, setContextHashCode, setFileName, setModuleName, setOrigin, setPackageName, setPathName, setPriority, superReadResolve, toStringpublic LintAnnotation(hudson.plugins.analysis.util.model.Priority priority,
String message,
String category,
String type,
int lineNumber)
priority - Priority of this bug.message - Describes exactly what the bug is.category - Bug categorisation.type - Type within the categorylineNumber - Line number the bug starts on.public void setExplanation(String explanation)
explanation - An explanation of the Lint rule violated.public void setErrorLines(String... lines)
public List<String> getErrorLines()
public void addLocation(Location location)
location - A location of this issue.public Collection<Location> getLocations()
AbstractAnnotation.getFileName()) where the
issue occurs.public String getToolTip()
Copyright © 2004-2013. All Rights Reserved.