use of org.ovirt.engine.ui.uicommonweb.builders.vm.CoreUnitToVmBaseBuilder 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;
}
Aggregations