void (@NotNull ExternalSystemTaskExecutionSettings settings) { String projectPath = myProjectPathField.getText(); settings.setExternalProjectPath(projectPath); List<String> tasks = ParametersListUtil.parse(myTasksTextField.getText(), true, true); settings.setTaskNames(tasks); settings.setVmOptions(myVmOptionsEditor.getText()); settings.setScriptParameters(myArgumentsEditor.getText()); settings.setPassParentEnvs(myEnvVariablesComponent.isPassParentEnvs()); settings.setEnv(myEnvVariablesComponent.getEnvs().isEmpty() ? Collections.emptyMap() : new HashMap<>(myEnvVariablesComponent.getEnvs())); }