Examples of RuleParameter


Examples of org.sonar.core.persistence.migration.v45.RuleParameter

    Multimap<Integer, RuleParameter> customRuleParamsByRuleId,
    DbSession session) {
    for (Integer customRuleId : customRuleIdsByTemplateRuleId.get(templateRuleId)) {
      if (!hasParameter(templateRuleParam.getName(), customRuleParamsByRuleId.get(customRuleId))) {
        // Insert new custom rule parameter
        session.getMapper(Migration45Mapper.class).insertRuleParameter(new RuleParameter()
          .setRuleId(customRuleId)
          .setRuleTemplateId(templateRuleId)
          .setName(templateRuleParam.getName())
          .setDescription(templateRuleParam.getDescription())
          .setType(templateRuleParam.getType())
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.