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;
}
Aggregations