private CustomizationSysprep getPopulatedCustomizationSysprep(GuestInputs guestInputs) { CustomizationSysprep customizationSysprep = new CustomizationSysprep(); CustomizationGuiUnattended guiUnattended = getGuiUnattended(guestInputs); customizationSysprep.setGuiUnattended(guiUnattended); CustomizationIdentification identification = getCustomizationIdentification(guestInputs); customizationSysprep.setIdentification(identification); if (StringUtils.isNotBlank(guestInputs.getLicenseDataMode())) { CustomizationLicenseFilePrintData licenseFilePrintData = getCustomizationLicenseFilePrintData(guestInputs); customizationSysprep.setLicenseFilePrintData(licenseFilePrintData); } return customizationSysprep; }
private CustomizationSysprep getCustomizationSysprep(GuestInputs guestInputs) { CustomizationSysprep customizationSysprep = getPopulatedCustomizationSysprep(guestInputs); CustomizationUserData userData = getCustomizationUserData(guestInputs); customizationSysprep.setUserData(userData); return customizationSysprep; }
public CustomizationSpec getWinCustomizationSpec(GuestInputs guestInputs) { CustomizationSpec customizationSpec = new CustomizationSpec(); CustomizationSysprep customizationSysprep = getCustomizationSysprep(guestInputs); customizationSpec.setIdentity(customizationSysprep); CustomizationWinOptions winOptions = getCustomizationWinOptions(guestInputs); customizationSpec.setOptions(winOptions); customizationSpec.setGlobalIPSettings(new CustomizationGlobalIPSettings()); setAdapter(guestInputs, customizationSpec); return customizationSpec; }