use of org.ovirt.engine.core.vdsbroker.vdsbroker.HostJobsReturn in project ovirt-engine by oVirt.
the class JsonRpcVdsServer method getHostJobs.
@Override
public HostJobsReturn getHostJobs(String jobType, List<String> jobIds) {
JsonRpcRequest request = new RequestBuilder("Host.getJobs").withOptionalParameter("job_type", jobType).withOptionalParameterAsList("job_ids", jobIds).build();
Map<String, Object> response = new FutureMap(this.client, request).withResponseKey("jobs");
return new HostJobsReturn(response);
}
Aggregations