org.sonar.plugins.pmd.xml
Class PmdRule

java.lang.Object
  extended by org.sonar.plugins.pmd.xml.PmdRule

public class PmdRule
extends Object


Constructor Summary
PmdRule(String ref)
           
PmdRule(String ref, String priority)
           
 
Method Summary
 void addProperty(PmdProperty property)
           
 int compareTo(String o)
           
 String getClazz()
           
 String getMessage()
           
 String getName()
           
 String getPriority()
           
 List<PmdProperty> getProperties()
           
 PmdProperty getProperty(String propertyName)
           
 String getRef()
           
 boolean hasProperties()
           
 void removeProperty(String propertyName)
           
 void setClazz(String clazz)
           
 void setMessage(String message)
           
 void setName(String name)
           
 void setPriority(String priority)
           
 void setProperties(List<PmdProperty> properties)
           
 void setRef(String ref)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PmdRule

public PmdRule(String ref)

PmdRule

public PmdRule(String ref,
               String priority)
Method Detail

getRef

public String getRef()

setProperties

public void setProperties(List<PmdProperty> properties)

getProperties

public List<PmdProperty> getProperties()

getProperty

public PmdProperty getProperty(String propertyName)

compareTo

public int compareTo(String o)

getPriority

public String getPriority()

setPriority

public void setPriority(String priority)

addProperty

public void addProperty(PmdProperty property)

setName

public void setName(String name)

getName

public String getName()

setMessage

public void setMessage(String message)

getMessage

public String getMessage()

setClazz

public void setClazz(String clazz)

getClazz

public String getClazz()

setRef

public void setRef(String ref)

removeProperty

public void removeProperty(String propertyName)

hasProperties

public boolean hasProperties()


Copyright © 2009-2012 SonarSource. All Rights Reserved.