Search in sources :

Example 1 with GetStoragePoolsByClusterServiceParameters

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

the class AsyncDataProvider method getDataCenterByClusterServiceList.

public void getDataCenterByClusterServiceList(AsyncQuery<List<StoragePool>> aQuery, boolean supportsVirtService, boolean supportsGlusterService) {
    aQuery.converterCallback = new SortListByNameConverter<>();
    final GetStoragePoolsByClusterServiceParameters parameters = new GetStoragePoolsByClusterServiceParameters();
    parameters.setSupportsVirtService(supportsVirtService);
    parameters.setSupportsGlusterService(supportsGlusterService);
    Frontend.getInstance().runQuery(QueryType.GetStoragePoolsByClusterService, parameters, aQuery);
}
Also used : GetStoragePoolsByClusterServiceParameters(org.ovirt.engine.core.common.queries.GetStoragePoolsByClusterServiceParameters)

Aggregations

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