org.sonar.api.rules.xml
Class Rule
java.lang.Object
  
org.sonar.api.rules.xml.Rule
- All Implemented Interfaces: 
 - Comparable<String>
 
public class Rule
- extends Object
- implements Comparable<String>
  
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Rule
public Rule(String ref)
Rule
public Rule(String ref,
            String priority)
getKey
public String getKey()
 
 
setProperties
public void setProperties(List<Property> properties)
 
 
getProperties
public List<Property> getProperties()
 
 
compareTo
public int compareTo(String o)
- Specified by:
 compareTo in interface Comparable<String>
 
 
getPriority
public String getPriority()
 
 
setPriority
public void setPriority(String priority)
 
 
addProperty
public void addProperty(Property property)
 
 
Copyright © 2009-2010 SonarSource SA. All Rights Reserved.