public class Warning
extends hudson.plugins.analysis.util.model.AbstractAnnotation
Note: this class has a natural ordering that is inconsistent with equals.
| Modifier and Type | Field and Description |
|---|---|
static String |
ORIGIN
Origin of the annotation.
|
| Constructor and Description |
|---|
Warning(hudson.plugins.analysis.util.model.Priority priority,
String message,
String category,
String type,
int lineNumber)
Creates a new instance of
Warning. |
Warning(hudson.plugins.analysis.util.model.Priority priority,
String message,
String category,
String type,
int start,
int end)
Creates a new instance of
Warning. |
| Modifier and Type | Method and Description |
|---|---|
String |
getDesc() |
String |
getToolTip() |
void |
setDesc(String desc) |
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, toStringpublic static final String ORIGIN
public Warning(hudson.plugins.analysis.util.model.Priority priority,
String message,
String category,
String type,
int start,
int end)
Warning.priority - the prioritymessage - the message of the warningcategory - the warning categorytype - the identifier of the warning typestart - the first line of the line rangeend - the last line of the line rangepublic Warning(hudson.plugins.analysis.util.model.Priority priority,
String message,
String category,
String type,
int lineNumber)
Warning.priority - the prioritymessage - the message of the warningcategory - the warning categorytype - the identifier of the warning typelineNumber - the line number of the warning in the corresponding fileCopyright © 2004-2015. All Rights Reserved.