Search in sources :

Example 1 with UpdateAllTemplateDisksParameters

use of org.ovirt.engine.core.common.action.UpdateAllTemplateDisksParameters in project ovirt-engine by oVirt.

the class AddVmTemplateCommand method buildUpdateAllTemplateDisksParameters.

private UpdateAllTemplateDisksParameters buildUpdateAllTemplateDisksParameters(boolean legalAndShared) {
    UpdateAllTemplateDisksParameters parameters = new UpdateAllTemplateDisksParameters(getVmTemplateId(), legalAndShared, legalAndShared ? true : null);
    parameters.setParentCommand(getActionType());
    parameters.setParentParameters(getParameters());
    parameters.setEndProcedure(EndProcedure.COMMAND_MANAGED);
    return parameters;
}
Also used : UpdateAllTemplateDisksParameters(org.ovirt.engine.core.common.action.UpdateAllTemplateDisksParameters)

Aggregations

UpdateAllTemplateDisksParameters (org.ovirt.engine.core.common.action.UpdateAllTemplateDisksParameters)1