Search in sources :

Example 1 with HwOnlyCoreUnitToVmBaseBuilder

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());
}
Also used : UsbPolicyUnitToVmBaseBuilder(org.ovirt.engine.ui.uicommonweb.builders.vm.UsbPolicyUnitToVmBaseBuilder) NameUnitToVmBaseBuilder(org.ovirt.engine.ui.uicommonweb.builders.vm.NameUnitToVmBaseBuilder) MigrationOptionsUnitToVmBaseBuilder(org.ovirt.engine.ui.uicommonweb.builders.vm.MigrationOptionsUnitToVmBaseBuilder) UnitVmModel(org.ovirt.engine.ui.uicommonweb.models.vms.UnitVmModel) HwOnlyCoreUnitToVmBaseBuilder(org.ovirt.engine.ui.uicommonweb.builders.vm.HwOnlyCoreUnitToVmBaseBuilder)

Aggregations

HwOnlyCoreUnitToVmBaseBuilder (org.ovirt.engine.ui.uicommonweb.builders.vm.HwOnlyCoreUnitToVmBaseBuilder)1 MigrationOptionsUnitToVmBaseBuilder (org.ovirt.engine.ui.uicommonweb.builders.vm.MigrationOptionsUnitToVmBaseBuilder)1 NameUnitToVmBaseBuilder (org.ovirt.engine.ui.uicommonweb.builders.vm.NameUnitToVmBaseBuilder)1 UsbPolicyUnitToVmBaseBuilder (org.ovirt.engine.ui.uicommonweb.builders.vm.UsbPolicyUnitToVmBaseBuilder)1 UnitVmModel (org.ovirt.engine.ui.uicommonweb.models.vms.UnitVmModel)1