コード例 #1
0
  private void init(ProjectReactor reactor) {
    LOG.info("Load project settings");

    addProperties(globalSettings.getProperties());

    addProperties(projectReferentials.settings(reactor.getRoot().getKeyWithBranch()));

    addProperties(reactor.getRoot().getProperties());
  }
コード例 #2
0
 public ProjectSettings(
     ProjectReactor reactor,
     GlobalSettings globalSettings,
     PropertyDefinitions propertyDefinitions,
     ProjectReferentials projectReferentials,
     AnalysisMode mode) {
   super(propertyDefinitions);
   this.mode = mode;
   getEncryption()
       .setPathToSecretKey(globalSettings.getString(CoreProperties.ENCRYPTION_SECRET_KEY_PATH));
   this.globalSettings = globalSettings;
   this.projectReferentials = projectReferentials;
   init(reactor);
 }