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

java.lang.Object
  extended by org.sonar.api.server.rule.RulesDefinition.NewRepositoryImpl
All Implemented Interfaces:
RulesDefinition.NewExtendedRepository, RulesDefinition.NewRepository
Enclosing interface:
RulesDefinition

public static class RulesDefinition.NewRepositoryImpl
extends Object
implements RulesDefinition.NewRepository


Method Summary
 RulesDefinition.NewRule createRule(String ruleKey)
           
 void done()
           
 String key()
           
 RulesDefinition.NewRule rule(String ruleKey)
           
 Collection<RulesDefinition.NewRule> rules()
           
 RulesDefinition.NewRepositoryImpl setName(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

key

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

setName

public RulesDefinition.NewRepositoryImpl setName(@Nullable
                                                 String s)
Specified by:
setName in interface RulesDefinition.NewRepository

createRule

public RulesDefinition.NewRule createRule(String ruleKey)
Specified by:
createRule in interface RulesDefinition.NewExtendedRepository

rule

@CheckForNull
public RulesDefinition.NewRule rule(String ruleKey)
Specified by:
rule in interface RulesDefinition.NewExtendedRepository

rules

public Collection<RulesDefinition.NewRule> rules()
Specified by:
rules in interface RulesDefinition.NewExtendedRepository

done

public void done()
Specified by:
done in interface RulesDefinition.NewExtendedRepository


Copyright © 2009–2014 SonarSource. All rights reserved.