public static void writeExternalUtil(@NotNull Element element, @NotNull OptionsAndConfirmations optionsAndConfirmations)
    throws WriteExternalException {
    optionsAndConfirmations.getOptionsValues().forEach((id, value) -> {
      if (!value) {
        Element settingElement = new Element(OPTIONS_SETTING);
        element.addContent(settingElement);
        settingElement.setAttribute(VALUE_ATTTIBUTE, Boolean.toString(value));
        settingElement.setAttribute(ID_ATTRIBUTE, id);
      }
    });

    optionsAndConfirmations.getConfirmationsValues().forEach((id, value) -> {
      if (value != VcsShowConfirmationOption.Value.SHOW_CONFIRMATION) {
        final Element settingElement = new Element(CONFIRMATIONS_SETTING);
        element.addContent(settingElement);
        settingElement.setAttribute(VALUE_ATTTIBUTE, value.toString());
        settingElement.setAttribute(ID_ATTRIBUTE, id);
      }
    });
  }
public static void writeExternalUtil(@NotNull Element element, @NotNull OptionsAndConfirmations optionsAndConfirmations)