org.sonar.plugins.rules
Class RulesPluginContextImpl

java.lang.Object
  extended by org.sonar.plugins.rules.RulesPluginContextImpl
All Implemented Interfaces:
RulesPluginContext

public class RulesPluginContextImpl
extends java.lang.Object
implements RulesPluginContext


Constructor Summary
RulesPluginContextImpl(Plugin plugin, RulesDao dao)
           
 
Method Summary
 RulesProfile getActiveProfile()
           
 Rule getRule(java.lang.String ruleKey)
           
 java.util.List<Rule> getRules(boolean onlyThisPlugin)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RulesPluginContextImpl

public RulesPluginContextImpl(Plugin plugin,
                              RulesDao dao)
Method Detail

getRule

public Rule getRule(java.lang.String ruleKey)
Specified by:
getRule in interface RulesPluginContext

getRules

public java.util.List<Rule> getRules(boolean onlyThisPlugin)
Specified by:
getRules in interface RulesPluginContext

getActiveProfile

public RulesProfile getActiveProfile()
Specified by:
getActiveProfile in interface RulesPluginContext


Copyright © 2007-2008 hortis. All Rights Reserved.