org.apache.maven.plugin.pmd.model
Class Violation

java.lang.Object
  extended by org.apache.maven.plugin.pmd.model.Violation
All Implemented Interfaces:
Serializable

public class Violation
extends Object
implements Serializable

Class Violation.

Version:
$Revision: 853015 $ $Date: 2013-03-04 21:10:54 +0000 (Mon, 04 Mar 2013) $
See Also:
Serialized Form

Constructor Summary
Violation()
           
 
Method Summary
 int getBeginline()
          Get the beginline field.
 String getFileName()
           
 int getPriority()
          Get the priority field.
 String getRule()
          Get the rule field.
 String getText()
          Get the text field.
 String getViolationClass()
          Get the violationClass field.
 String getViolationPackage()
          Get the violationPackage field.
 void setBeginline(int beginline)
          Set the beginline field.
 void setFileName(String fileName)
           
 void setPriority(int priority)
          Set the priority field.
 void setRule(String rule)
          Set the rule field.
 void setText(String text)
          Set the text field.
 void setViolationClass(String violationClass)
          Set the violationClass field.
 void setViolationPackage(String violationPackage)
          Set the violationPackage field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Violation

public Violation()
Method Detail

getBeginline

public int getBeginline()
Get the beginline field.

Returns:
int

getPriority

public int getPriority()
Get the priority field.

Returns:
int

getRule

public String getRule()
Get the rule field.

Returns:
String

getText

public String getText()
Get the text field.

Returns:
String

getViolationClass

public String getViolationClass()
Get the violationClass field.

Returns:
String

getViolationPackage

public String getViolationPackage()
Get the violationPackage field.

Returns:
String

setBeginline

public void setBeginline(int beginline)
Set the beginline field.

Parameters:
beginline -

setPriority

public void setPriority(int priority)
Set the priority field.

Parameters:
priority -

setRule

public void setRule(String rule)
Set the rule field.

Parameters:
rule -

setText

public void setText(String text)
Set the text field.

Parameters:
text -

setViolationClass

public void setViolationClass(String violationClass)
Set the violationClass field.

Parameters:
violationClass -

setViolationPackage

public void setViolationPackage(String violationPackage)
Set the violationPackage field.

Parameters:
violationPackage -

setFileName

public void setFileName(String fileName)

getFileName

public String getFileName()


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.