private CustomizationSysprep getCustomizationSysprep(GuestInputs guestInputs) { CustomizationSysprep customizationSysprep = getPopulatedCustomizationSysprep(guestInputs); CustomizationUserData userData = getCustomizationUserData(guestInputs); customizationSysprep.setUserData(userData); return customizationSysprep; }
private CustomizationUserData getCustomizationUserData(GuestInputs guestInputs) { CustomizationUserData userData = new CustomizationUserData(); userData.setFullName(guestInputs.getOwnerName()); userData.setOrgName(guestInputs.getOwnerOrganization()); userData.setProductId(guestInputs.getProductKey()); CustomizationFixedName computerName = new CustomizationFixedName(); computerName.setName(guestInputs.getComputerName()); userData.setComputerName(computerName); return userData; }