|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.analysis.util.model.AbstractAnnotation
org.jenkinsci.plugins.android_lint.parser.LintAnnotation
public class LintAnnotation
An analysis-core Annotation representing a potential bug as determined by Lint.
| Field Summary |
|---|
| Fields inherited from class hudson.plugins.analysis.util.model.AbstractAnnotation |
|---|
WORKSPACE_FILES |
| Constructor Summary | |
|---|---|
LintAnnotation(hudson.plugins.analysis.util.model.Priority priority,
String message,
String category,
String type,
int lineNumber)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addLocation(Location location)
Adds a location where this issue occurs. |
Collection<Location> |
getLocations()
|
String |
getToolTip()
|
void |
setExplanation(String explanation)
|
| Methods inherited from class hudson.plugins.analysis.util.model.AbstractAnnotation |
|---|
addLineRange, canDisplayFile, compareTo, equals, getCategory, getContextHashCode, getFileName, getKey, getLineRanges, getLinkName, getMessage, getModuleName, getOrigin, getPackageName, getPathName, getPrimaryLineNumber, getPriority, getShortFileName, getTempName, getType, hashCode, hasPackageName, setContextHashCode, setFileName, setModuleName, setOrigin, setPackageName, setPathName, setPriority, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public 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.| Method Detail |
|---|
public void setExplanation(String explanation)
explanation - An explanation of the Lint rule violated.public void addLocation(Location location)
location - A location of this issue.public Collection<Location> getLocations()
public String getToolTip()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||