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

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>

getSeverity

public java.lang.String getSeverity()

setSeverity

public void setSeverity(java.lang.String severity)

addProperty

public void addProperty(Property property)


Copyright © 2009 SonarSource SA. All Rights Reserved.