Search in sources :

Example 1 with StorageDriverInfo

use of models.datatable.StorageDriverDataTable.StorageDriverInfo in project coprhd-controller by CoprHD.

the class StorageDrivers method listJson.

public static void listJson() {
    List<StorageDriverInfo> drivers = Lists.newArrayList();
    for (StorageDriverRestRep driver : StorageDriverUtils.getDrivers().getDrivers()) {
        drivers.add(new StorageDriverInfo(driver));
    }
    renderJSON(DataTablesSupport.createJSON(drivers, params));
}
Also used : StorageDriverInfo(models.datatable.StorageDriverDataTable.StorageDriverInfo) StorageDriverRestRep(com.emc.storageos.model.storagedriver.StorageDriverRestRep)

Aggregations

StorageDriverRestRep (com.emc.storageos.model.storagedriver.StorageDriverRestRep)1 StorageDriverInfo (models.datatable.StorageDriverDataTable.StorageDriverInfo)1