Search in sources :

Example 1 with GetValidHostsForVmsParameters

use of org.ovirt.engine.core.common.queries.GetValidHostsForVmsParameters in project ovirt-engine by oVirt.

the class AsyncDataProvider method getValidHostsForVms.

public void getValidHostsForVms(AsyncQuery<List<VDS>> aQuery, List<VM> vms, Guid clusterId) {
    GetValidHostsForVmsParameters params = new GetValidHostsForVmsParameters(vms, clusterId);
    aQuery.converterCallback = new ListConverter<>();
    Frontend.getInstance().runQuery(QueryType.GetValidHostsForVms, params, aQuery);
}
Also used : GetValidHostsForVmsParameters(org.ovirt.engine.core.common.queries.GetValidHostsForVmsParameters)

Aggregations

GetValidHostsForVmsParameters (org.ovirt.engine.core.common.queries.GetValidHostsForVmsParameters)1