| Constructor and Description |
|---|
StdViol() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid() |
void |
setCat(String cat)
Category of the violation.
|
void |
setLn(Integer ln)
Line of the violation.
|
void |
setLocFile(String locFile)
File location
|
void |
setMsg(String msg)
Message of the violation.
|
void |
setRule(String rule)
Name of the violation.
|
void |
setSev(String sev)
Severity of the violation.
|
void |
setSupp(String supp)
Suppressed violation.
|
Warning |
toFileAnnotation(String moduleName,
String encoding) |
public boolean isValid()
FileAnnotationpublic Warning toFileAnnotation(String moduleName, String encoding)
moduleName - the name of the module associated with the FileAnnotationencoding - the encoding of the report fileFileAnnotationpublic void setSev(String sev)
public void setRule(String rule)
public void setMsg(String msg)
public void setLn(Integer ln)
public void setLocFile(String locFile)
public void setCat(String cat)
public void setSupp(String supp)
Copyright © 2004-2014. All Rights Reserved.