org.sonar.api.rules
Interface RuleFinder

All Superinterfaces:
ServerComponent, TaskComponent

public interface RuleFinder
extends TaskComponent, ServerComponent

Since:
2.3

Method Summary
 Rule find(RuleQuery query)
           
 Collection<Rule> findAll(RuleQuery query)
           
 Rule findById(int ruleId)
          Deprecated. since 4.4, Please use findByKey(org.sonar.api.rule.RuleKey)}
 Rule findByKey(RuleKey key)
           
 Rule findByKey(String repositoryKey, String key)
           
 

Method Detail

findById

@CheckForNull
@Deprecated
Rule findById(int ruleId)
Deprecated. since 4.4, Please use findByKey(org.sonar.api.rule.RuleKey)}

Since:
2.5

findByKey

@CheckForNull
Rule findByKey(String repositoryKey,
                            String key)

findByKey

@CheckForNull
Rule findByKey(RuleKey key)

find

@CheckForNull
Rule find(RuleQuery query)

findAll

Collection<Rule> findAll(RuleQuery query)


Copyright © 2009–2014 SonarSource. All rights reserved.