Search in sources :

Example 1 with ListImageStoresCmd

use of org.apache.cloudstack.api.command.admin.storage.ListImageStoresCmd in project cloudstack by apache.

the class ListSwiftsCmd method execute.

@Override
public void execute() {
    ListImageStoresCmd cmd = new ListImageStoresCmd();
    cmd.setProvider("Swift");
    ListResponse<ImageStoreResponse> response = _queryService.searchForImageStores(cmd);
    response.setResponseName(getCommandName());
    this.setResponseObject(response);
}
Also used : ImageStoreResponse(org.apache.cloudstack.api.response.ImageStoreResponse) ListImageStoresCmd(org.apache.cloudstack.api.command.admin.storage.ListImageStoresCmd)

Aggregations

ListImageStoresCmd (org.apache.cloudstack.api.command.admin.storage.ListImageStoresCmd)1 ImageStoreResponse (org.apache.cloudstack.api.response.ImageStoreResponse)1