use of org.ovirt.engine.ui.uicommonweb.builders.vm.HwOnlyCoreUnitToVmBaseBuilder in project ovirt-engine by oVirt.
the class InstanceTypeListModel method buildVmStatic.
private void buildVmStatic(VmBase vmBase) {
UnitVmModel model = (UnitVmModel) getWindow();
BuilderExecutor.build(model, vmBase, new HwOnlyCoreUnitToVmBaseBuilder(), new NameUnitToVmBaseBuilder(), new UsbPolicyUnitToVmBaseBuilder(), new MigrationOptionsUnitToVmBaseBuilder());
// from CommonUnitToVmBaseBuilder
vmBase.setAutoStartup(model.getIsHighlyAvailable().getEntity());
vmBase.setPriority(model.getPriority().getSelectedItem().getEntity());
}
Aggregations