org.sonar.api.server.rule
Interface RuleDefinitions

All Superinterfaces:
Extension, ServerComponent, ServerExtension

public interface RuleDefinitions
extends ServerExtension

Defines the coding rules. For example the Java Findbugs plugin provides an implementation of this extension point in order to define the rules that it supports.

This interface replaces the deprecated class org.sonar.api.rules.RuleRepository.

Since:
4.2

Nested Class Summary
static class RuleDefinitions.Context
          Instantiated by core but not by plugins
static interface RuleDefinitions.ExtendedRepository
           
static interface RuleDefinitions.NewExtendedRepository
           
static class RuleDefinitions.NewParam
           
static interface RuleDefinitions.NewRepository
           
static class RuleDefinitions.NewRepositoryImpl
           
static class RuleDefinitions.NewRule
           
static class RuleDefinitions.Param
           
static interface RuleDefinitions.Repository
           
static class RuleDefinitions.RepositoryImpl
           
static class RuleDefinitions.Rule
           
 
Method Summary
 void define(RuleDefinitions.Context context)
          This method is executed when server is started.
 

Method Detail

define

void define(RuleDefinitions.Context context)
This method is executed when server is started.



Copyright © 2009-2014 SonarSource. All Rights Reserved.