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
-
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
- a beginline object.
-
setEndline
public void setEndline(int endline) Set the endline field.- Parameters:
endline
- a endline object.
-
setExternalInfoUrl
Set the externalInfoUrl field.- Parameters:
externalInfoUrl
- a externalInfoUrl object.
-
setPriority
public void setPriority(int priority) Set the priority field.- Parameters:
priority
- a priority object.
-
setRule
Set the rule field.- Parameters:
rule
- a rule object.
-
setText
Set the text field.- Parameters:
text
- a text object.
-
setViolationClass
Set the violationClass field.- Parameters:
violationClass
- a violationClass object.
-
setViolationPackage
Set the violationPackage field.- Parameters:
violationPackage
- a violationPackage object.
-
setFileName
-
getFileName
-