|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.analysis.util.model.AbstractAnnotation
hudson.plugins.checkstyle.parser.Warning
public class Warning
A serializable Java Bean class representing a warning.
Note: this class has a natural ordering that is inconsistent with equals.
| Field Summary | |
|---|---|
static java.lang.String |
ORIGIN
Origin of the annotation. |
| Fields inherited from class hudson.plugins.analysis.util.model.AbstractAnnotation |
|---|
WORKSPACE_FILES |
| Constructor Summary | |
|---|---|
Warning(hudson.plugins.analysis.util.model.Priority priority,
java.lang.String message,
java.lang.String category,
java.lang.String type,
int lineNumber)
Creates a new instance of Warning. |
|
Warning(hudson.plugins.analysis.util.model.Priority priority,
java.lang.String message,
java.lang.String category,
java.lang.String type,
int start,
int end)
Creates a new instance of Warning. |
|
| Method Summary | |
|---|---|
java.lang.String |
getToolTip()
|
| Methods inherited from class hudson.plugins.analysis.util.model.AbstractAnnotation |
|---|
addLineRange, canDisplayFile, compareTo, equals, getCategory, getContextHashCode, getFileName, getKey, getLineRanges, getMessage, getModuleName, getOrigin, getPackageName, getPrimaryLineNumber, getPriority, getShortFileName, getTempName, getType, hashCode, hasPackageName, setContextHashCode, setFileName, setModuleName, setOrigin, setPackageName, setPriority |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ORIGIN
| Constructor Detail |
|---|
public Warning(hudson.plugins.analysis.util.model.Priority priority,
java.lang.String message,
java.lang.String category,
java.lang.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 range
public Warning(hudson.plugins.analysis.util.model.Priority priority,
java.lang.String message,
java.lang.String category,
java.lang.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 file| Method Detail |
|---|
public java.lang.String getToolTip()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||