org.sonar.plugins.pmd.xml
Class Rule

java.lang.Object
  extended by org.sonar.plugins.pmd.xml.Rule
All Implemented Interfaces:
java.lang.Comparable<java.lang.String>

public class Rule
extends java.lang.Object
implements java.lang.Comparable<java.lang.String>


Constructor Summary
Rule(java.lang.String ref)
           
Rule(java.lang.String ref, java.lang.String priority)
           
 
Method Summary
 void addProperty(Property property)
           
 int compareTo(java.lang.String o)
           
 java.lang.String getPriority()
           
 java.util.List<Property> getProperties()
           
 java.lang.String getRef()
           
 void setPriority(java.lang.String priority)
           
 void setProperties(java.util.List<Property> properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rule

public Rule(java.lang.String ref)

Rule

public Rule(java.lang.String ref,
            java.lang.String priority)
Method Detail

getRef

public java.lang.String getRef()

setProperties

public void setProperties(java.util.List<Property> properties)

getProperties

public java.util.List<Property> getProperties()

compareTo

public int compareTo(java.lang.String o)
Specified by:
compareTo in interface java.lang.Comparable<java.lang.String>

getPriority

public java.lang.String getPriority()

setPriority

public void setPriority(java.lang.String priority)

addProperty

public void addProperty(Property property)


Copyright © 2008 SonarSource SA. All Rights Reserved.