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 TypeMethodDescriptionint
Get the beginline field.int
Get the endline field.Get the externalInfoUrl field.int
Get the priority field.getRule()
Get the rule field.getText()
Get the text field.Get the violationClass field.Get the violationPackage field.void
setBeginline
(int beginline) Set the beginline field.void
setEndline
(int endline) Set the endline field.void
setExternalInfoUrl
(String externalInfoUrl) Set the externalInfoUrl field.void
setFileName
(String fileName) void
setPriority
(int priority) Set the priority field.void
Set the rule field.void
Set the text field.void
setViolationClass
(String violationClass) Set the violationClass field.void
setViolationPackage
(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
-