org.sonar.api.rules
Class RuleUtils

java.lang.Object
  extended by org.sonar.api.rules.RuleUtils

Deprecated. in 3.7. Commons Configuration must be replaced by Settings

@Deprecated
public final class RuleUtils
extends Object

A utility class to manipulate concepts around rules


Method Summary
static Map<RulePriority,Integer> getPriorityWeights(org.apache.commons.configuration.Configuration configuration)
          Deprecated. Gets a Map containing the weights defined in the settings Default value is used when the property is not set (see property key and default value in the class CoreProperties)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPriorityWeights

public static Map<RulePriority,Integer> getPriorityWeights(org.apache.commons.configuration.Configuration configuration)
Deprecated. 
Gets a Map containing the weights defined in the settings Default value is used when the property is not set (see property key and default value in the class CoreProperties)

Parameters:
configuration - the Sonar configuration
Returns:
a map


Copyright © 2009-2013 SonarSource. All Rights Reserved.