Examples of RulesConfigService


Examples of ch.hortis.sonar.service.RulesConfigService

  public void execute(Module module, List<Module> submodules) {
    HashMap<Key, Integer> countMap = new HashMap<Key, Integer>();
   
    //get rules configs and init the rules count map
    RulesConfigService srv = super.getDatabaseService(RulesConfigService.class);
    List<RuleConfig> activatedRules = srv.getRulesConfigs(getLevel());
    for (RuleConfig ruleConfig : activatedRules) {
      initCountMap( countMap, ruleConfig, null );
      List<File> moduleFiles = module.getFiles();
      for (File file : moduleFiles) {
        initCountMap( countMap, ruleConfig, file );
View Full Code Here

Examples of ch.hortis.sonar.service.RulesConfigService

  public void execute(Module module, List<Module> submodules) {
    HashMap<Key, Integer> countMap = new HashMap<Key, Integer>();
   
    //get rules configs and init the rules count map
    RulesConfigService srv = super.getDatabaseService(RulesConfigService.class);
    List<RuleConfig> activatedRules = srv.getRulesConfigs(getLevel());
    for (RuleConfig ruleConfig : activatedRules) {
      initCountMap( countMap, ruleConfig, null );
      List<File> moduleFiles = module.getFiles();
      for (File file : moduleFiles) {
        initCountMap( countMap, ruleConfig, file );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.