org.sonar.api.server.rule
Class RulesDefinition.RepositoryImpl

java.lang.Object
  extended by org.sonar.api.server.rule.RulesDefinition.RepositoryImpl
All Implemented Interfaces:
RulesDefinition.ExtendedRepository, RulesDefinition.Repository
Enclosing interface:
RulesDefinition

@Immutable
public static class RulesDefinition.RepositoryImpl
extends Object
implements RulesDefinition.Repository


Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 String key()
           
 String language()
           
 String name()
           
 RulesDefinition.Rule rule(String ruleKey)
           
 List<RulesDefinition.Rule> rules()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

key

public String key()
Specified by:
key in interface RulesDefinition.ExtendedRepository

language

public String language()
Specified by:
language in interface RulesDefinition.ExtendedRepository

name

public String name()
Specified by:
name in interface RulesDefinition.Repository

rule

@CheckForNull
public RulesDefinition.Rule rule(String ruleKey)
Specified by:
rule in interface RulesDefinition.ExtendedRepository

rules

public List<RulesDefinition.Rule> rules()
Specified by:
rules in interface RulesDefinition.ExtendedRepository

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2009–2015 SonarSource. All rights reserved.