private void apply(ImportSpec spec) {
    myProgressExecutionMode = spec.getProgressExecutionMode();
    myCreateDirectoriesForEmptyContentRoots = spec.shouldCreateDirectoriesForEmptyContentRoots();
    myCallback = spec.getCallback();
    isPreviewMode = spec.isPreviewMode();
    isActivateBuildToolWindowOnStart = spec.isActivateBuildToolWindowOnStart();
    isActivateBuildToolWindowOnFailure = spec.isActivateBuildToolWindowOnFailure();
    myArguments = spec.getArguments();
    myVmOptions = spec.getVmOptions();
  }
private void apply(ImportSpec spec)