use of org.ovirt.engine.ui.uicommonweb.builders.vm.VmSpecificUnitToVmBuilder in project ovirt-engine by oVirt.
the class VmSnapshotListModel method buildVmOnClone.
protected static void buildVmOnClone(UnitVmModel model, VM vm) {
BuilderExecutor.build(model, vm.getStaticData(), new FullUnitToVmBaseBuilder());
BuilderExecutor.build(model, vm, new VmSpecificUnitToVmBuilder());
}
use of org.ovirt.engine.ui.uicommonweb.builders.vm.VmSpecificUnitToVmBuilder in project ovirt-engine by oVirt.
the class VmBaseListModel method buildVmOnSave.
public static void buildVmOnSave(UnitVmModel model, VM vm) {
BuilderExecutor.build(model, vm.getStaticData(), new FullUnitToVmBaseBuilder());
BuilderExecutor.build(model, vm, new VmSpecificUnitToVmBuilder());
}
use of org.ovirt.engine.ui.uicommonweb.builders.vm.VmSpecificUnitToVmBuilder 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