Search in sources :

Example 1 with FullUnitToVmBaseBuilder

use of org.ovirt.engine.ui.uicommonweb.builders.vm.FullUnitToVmBaseBuilder 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 FullUnitToVmBaseBuilder

use of org.ovirt.engine.ui.uicommonweb.builders.vm.FullUnitToVmBaseBuilder 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)

Aggregations

FullUnitToVmBaseBuilder (org.ovirt.engine.ui.uicommonweb.builders.vm.FullUnitToVmBaseBuilder)2 VmSpecificUnitToVmBuilder (org.ovirt.engine.ui.uicommonweb.builders.vm.VmSpecificUnitToVmBuilder)2