org.sonar.api.server.rule
Class RulesDefinition.NewRepositoryImpl
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.