所有文档

          规则引擎 Rule Engine

          禁用-启用一条规则

          禁用规则

          请参考以下代码禁用一条规则:

          // 创建client
          RuleEngineClient client = new RuleEngineClient(accessKey, secretKey);
          
          // 需要禁用的规则id
          String ruleId = "put your rule id here";
          client.disableRule(ruleId);

          启用规则

          请参考以下代码启用一条规则:

          // 创建client
          RuleEngineClient client = new RuleEngineClient(accessKey, secretKey);
          
          // 需要启用的规则id
          String ruleId = "put your rule id here";
          client.enableRule(ruleId);
          上一篇
          查看已经创建的规则
          下一篇
          版本说明