use of org.ovirt.engine.core.common.action.UpdateVolumeCommandParameters in project ovirt-engine by oVirt.
the class UpdateAllTemplateDisksCommand method buildUpdateVolumeCommandParameters.
private UpdateVolumeCommandParameters buildUpdateVolumeCommandParameters(DiskImage diskImage) {
UpdateVolumeCommandParameters parameters = new UpdateVolumeCommandParameters(diskImage.getStoragePoolId(), new VdsmImageLocationInfo(diskImage), getParameters().getLegal(), null, null, getParameters().getShared());
parameters.setParentCommand(getActionType());
parameters.setParentParameters(getParameters());
parameters.setEndProcedure(EndProcedure.COMMAND_MANAGED);
return parameters;
}
Aggregations