Exemplo n.º 1
0
  /** Update the configuration object with the current wizard content. */
  public void updateConfiguration() {
    List<VPMAnalyzer> analyzers = analyzerPage.getAnalyzers();
    analysisWorkflowConfiguration.getAnalyzers().clear();
    analysisWorkflowConfiguration.getAnalyzers().addAll(analyzers);

    ResultPresentation resultPresentation = resultHandlingPage.getResultPresentation();
    analysisWorkflowConfiguration.setPresentation(resultPresentation);

    analysisWorkflowConfiguration.getDetectionRules().clear();
    analysisWorkflowConfiguration
        .getDetectionRules()
        .addAll(resultHandlingPage.getDetectionRules());
    analysisWorkflowConfiguration.setUseMergeDetection(resultHandlingPage.isUseMergeDetection());
    analysisWorkflowConfiguration.setFullRefinementReasons(
        resultHandlingPage.isFullRefinementReasons());
  }