|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.warnings.util.model.AbstractAnnotation
hudson.plugins.warnings.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.
| Constructor Summary | |
|---|---|
Warning(java.lang.String fileName,
int start,
java.lang.String type,
java.lang.String category,
java.lang.String message)
Creates a new instance of Warning. |
|
Warning(java.lang.String fileName,
int start,
java.lang.String type,
java.lang.String category,
java.lang.String message,
Priority priority)
Creates a new instance of Warning. |
|
| Method Summary | |
|---|---|
java.lang.String |
getToolTip()
Returns the a detailed description that will be used as tooltip. |
boolean |
hasPackageName()
Returns whether a package name has been defined. |
| Methods inherited from class hudson.plugins.warnings.util.model.AbstractAnnotation |
|---|
addLineRange, canDisplayFile, equals, getCategory, getFileName, getKey, getLineRanges, getMessage, getModuleName, getPackageName, getPrimaryLineNumber, getPriority, getShortFileName, getTempName, getType, hashCode, setFileName, setModuleName, setPackageName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Warning(java.lang.String fileName,
int start,
java.lang.String type,
java.lang.String category,
java.lang.String message)
Warning.
fileName - the name of the filestart - the first line of the line rangetype - the identifier of the warning typecategory - the warning categorymessage - the message of the warning
public Warning(java.lang.String fileName,
int start,
java.lang.String type,
java.lang.String category,
java.lang.String message,
Priority priority)
Warning.
fileName - the name of the filestart - the first line of the line rangetype - the identifier of the warning typecategory - the warning categorymessage - the message of the warningpriority - the priority of the warning| Method Detail |
|---|
public java.lang.String getToolTip()
public boolean hasPackageName()
true, if a package name has been defined
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||