简体   繁体   English

SonarQube插件在服务器启动后创建新规则

[英]SonarQube Plugin create new rules after server start

I want to create a SonarQube plugin which provides the functionality of rule creation. 我想创建一个提供规则创建功能的SonarQube插件。 The rules are ought to be provided by an importer which parses a however-looking (custom) definition file and creates (custom) rules from that definition file. 规则应由进口商提供,后者分析外观(自定义)定义文件并从该定义文件创建(自定义)规则。 This importer is started by user action. 该导入程序由用户操作启动。

I did not found a possibility to create new rules after server start. 服务器启动后,我没有发现创建新规则的可能性。 Do you know a way of doing this? 你知道这样做的方法吗?

The only way to do this is through rule templates . 唯一的方法是通过规则模板 Otherwise, all rules must be registered at server startup. 否则,必须在服务器启动时注册所有规则。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM