Search in sources :

Example 1 with VmSpecificUnitToVmBuilder

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());
}
Also used : VmSpecificUnitToVmBuilder(org.ovirt.engine.ui.uicommonweb.builders.vm.VmSpecificUnitToVmBuilder) FullUnitToVmBaseBuilder(org.ovirt.engine.ui.uicommonweb.builders.vm.FullUnitToVmBaseBuilder)

Example 2 with 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());
}
Also used : VmSpecificUnitToVmBuilder(org.ovirt.engine.ui.uicommonweb.builders.vm.VmSpecificUnitToVmBuilder) FullUnitToVmBaseBuilder(org.ovirt.engine.ui.uicommonweb.builders.vm.FullUnitToVmBaseBuilder)

Example 3 with 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;
}
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

VmSpecificUnitToVmBuilder (org.ovirt.engine.ui.uicommonweb.builders.vm.VmSpecificUnitToVmBuilder)3 FullUnitToVmBaseBuilder (org.ovirt.engine.ui.uicommonweb.builders.vm.FullUnitToVmBaseBuilder)2 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