org.sonar.api.resources.Project.setSettings()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(1.2k)|赞(0)|评价(0)|浏览(100)

本文整理了Java中org.sonar.api.resources.Project.setSettings()方法的一些代码示例,展示了Project.setSettings()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Project.setSettings()方法的具体详情如下:
包路径:org.sonar.api.resources.Project
类名称:Project
方法名:setSettings

Project.setSettings介绍

[英]Internal use
[中]内服

代码示例

代码示例来源:origin: org.codehaus.sonar/sonar-batch

@Override
protected void doAfterStart() {
 DefaultIndex index = getComponentByType(DefaultIndex.class);
 index.setCurrentProject(module,
  getComponentByType(ModuleIssues.class));
 getComponentByType(PhaseExecutor.class).execute(module);
 // Free memory since module settings are no more used
 module.setSettings(null);
}

代码示例来源:origin: org.sonarsource.sonarqube/sonar-batch

@Override
protected void doAfterStart() {
 DefaultIndex index = getComponentByType(DefaultIndex.class);
 index.setCurrentProject(module, getComponentByType(DefaultSensorStorage.class));
 getComponentByType(PhaseExecutor.class).execute(module);
 // Free memory since module settings are no more used
 module.setSettings(null);
}

代码示例来源:origin: org.sonarsource.sonarqube/sonar-batch

module.setSettings(moduleSettings);

代码示例来源:origin: org.codehaus.sonar/sonar-batch

module.setSettings(moduleSettings);

相关文章