org.sonar.api.rules.xml
Class Rule
java.lang.Object
  
org.sonar.api.rules.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)
 
            | 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Rule
public Rule(java.lang.String ref)
Rule
public Rule(java.lang.String ref,
            java.lang.String priority)
getKey
public java.lang.String getKey()
 
 
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 © 2009 SonarSource SA. All Rights Reserved.