org.sonar.plugins.api.maven.xml
Class Rule

java.lang.Object
  extended by org.sonar.plugins.api.maven.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 getKey()
           
 java.util.List<Property> getProperties()
           
 java.lang.String getSeverity()
           
 void setProperties(java.util.List<Property> properties)
           
 void setSeverity(java.lang.String severity)
           
 
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

addProperty

public void addProperty(Property property)

compareTo

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

getKey

public java.lang.String getKey()

getProperties

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

getSeverity

public java.lang.String getSeverity()

setProperties

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

setSeverity

public void setSeverity(java.lang.String severity)


Copyright © 2008-2009 SonarSource SA. All Rights Reserved.