@Deprecated(forRemoval = true)
  public final void addConfiguration(RunnerAndConfigurationSettings settings,
                                     boolean storeInDotIdeaFolder,
                                     List<BeforeRunTask> tasks,
                                     boolean addTemplateTasksIfAbsent) {
    if (storeInDotIdeaFolder) {
      settings.storeInDotIdeaFolder();
    }
    else {
      settings.storeInLocalWorkspace();
    }
    setBeforeRunTasks(settings.getConfiguration(), tasks, addTemplateTasksIfAbsent);
    addConfiguration(settings);
  }
@Deprecated(forRemoval = true)
  public final void addConfiguration(RunnerAndConfigurationSettings settings,
                                     boolean storeInDotIdeaFolder,
                                     List<BeforeRunTask> tasks,
                                     boolean addTemplateTasksIfAbsent)