Class Violation
java.lang.Object
org.apache.maven.plugins.pmd.model.Violation
- All Implemented Interfaces:
Serializable
Class Violation.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet the beginline field.intGet the endline field.Get the externalInfoUrl field.intGet the priority field.getRule()Get the rule field.getText()Get the text field.Get the violationClass field.Get the violationPackage field.voidsetBeginline(int beginline) Set the beginline field.voidsetEndline(int endline) Set the endline field.voidsetExternalInfoUrl(String externalInfoUrl) Set the externalInfoUrl field.voidsetFileName(String fileName) voidsetPriority(int priority) Set the priority field.voidSet the rule field.voidSet the text field.voidsetViolationClass(String violationClass) Set the violationClass field.voidsetViolationPackage(String violationPackage) Set the violationPackage field.
-
Constructor Details
-
Violation
public Violation()
-
-
Method Details
-
getBeginline
public int getBeginline()Get the beginline field.- Returns:
- int
-
getEndline
public int getEndline()Get the endline field.- Returns:
- int
-
getExternalInfoUrl
Get the externalInfoUrl field.- Returns:
- String
-
getPriority
public int getPriority()Get the priority field.- Returns:
- int
-
getRule
Get the rule field.- Returns:
- String
-
getText
Get the text field.- Returns:
- String
-
getViolationClass
Get the violationClass field.- Returns:
- String
-
getViolationPackage
Get the violationPackage field.- Returns:
- String
-
setBeginline
public void setBeginline(int beginline) Set the beginline field.- Parameters:
beginline-
-
setEndline
public void setEndline(int endline) Set the endline field.- Parameters:
endline-
-
setExternalInfoUrl
Set the externalInfoUrl field.- Parameters:
externalInfoUrl-
-
setPriority
public void setPriority(int priority) Set the priority field.- Parameters:
priority-
-
setRule
Set the rule field.- Parameters:
rule-
-
setText
Set the text field.- Parameters:
text-
-
setViolationClass
Set the violationClass field.- Parameters:
violationClass-
-
setViolationPackage
Set the violationPackage field.- Parameters:
violationPackage-
-
setFileName
-
getFileName
-