Search in sources :

Example 1 with CpuProfileUnitToVmBaseBuilder

use of org.ovirt.engine.ui.uicommonweb.builders.vm.CpuProfileUnitToVmBaseBuilder in project ovirt-engine by oVirt.

the class PoolListModel method buildVmOnSave.

protected static VM buildVmOnSave(PoolModel model) {
    VM vm = new VM();
    BuilderExecutor.build(model, vm.getStaticData(), new NameUnitToVmBaseBuilder(), new CoreUnitToVmBaseBuilder(), new KernelParamsUnitToVmBaseBuilder(), new MigrationOptionsUnitToVmBaseBuilder(), new DedicatedVmForVdsUnitToVmBaseBuilder(), new UsbPolicyUnitToVmBaseBuilder(), new CpuProfileUnitToVmBaseBuilder());
    BuilderExecutor.build(model, vm, new VmSpecificUnitToVmBuilder());
    return vm;
}
Also used : CpuProfileUnitToVmBaseBuilder(org.ovirt.engine.ui.uicommonweb.builders.vm.CpuProfileUnitToVmBaseBuilder) VmSpecificUnitToVmBuilder(org.ovirt.engine.ui.uicommonweb.builders.vm.VmSpecificUnitToVmBuilder) CoreUnitToVmBaseBuilder(org.ovirt.engine.ui.uicommonweb.builders.vm.CoreUnitToVmBaseBuilder) VM(org.ovirt.engine.core.common.businessentities.VM) KernelParamsUnitToVmBaseBuilder(org.ovirt.engine.ui.uicommonweb.builders.vm.KernelParamsUnitToVmBaseBuilder) UsbPolicyUnitToVmBaseBuilder(org.ovirt.engine.ui.uicommonweb.builders.vm.UsbPolicyUnitToVmBaseBuilder) DedicatedVmForVdsUnitToVmBaseBuilder(org.ovirt.engine.ui.uicommonweb.builders.vm.DedicatedVmForVdsUnitToVmBaseBuilder) NameUnitToVmBaseBuilder(org.ovirt.engine.ui.uicommonweb.builders.vm.NameUnitToVmBaseBuilder) MigrationOptionsUnitToVmBaseBuilder(org.ovirt.engine.ui.uicommonweb.builders.vm.MigrationOptionsUnitToVmBaseBuilder)

Aggregations

VM (org.ovirt.engine.core.common.businessentities.VM)1 CoreUnitToVmBaseBuilder (org.ovirt.engine.ui.uicommonweb.builders.vm.CoreUnitToVmBaseBuilder)1 CpuProfileUnitToVmBaseBuilder (org.ovirt.engine.ui.uicommonweb.builders.vm.CpuProfileUnitToVmBaseBuilder)1 DedicatedVmForVdsUnitToVmBaseBuilder (org.ovirt.engine.ui.uicommonweb.builders.vm.DedicatedVmForVdsUnitToVmBaseBuilder)1 KernelParamsUnitToVmBaseBuilder (org.ovirt.engine.ui.uicommonweb.builders.vm.KernelParamsUnitToVmBaseBuilder)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 VmSpecificUnitToVmBuilder (org.ovirt.engine.ui.uicommonweb.builders.vm.VmSpecificUnitToVmBuilder)1