use of models.datatable.DisasterRecoveryDataTable.StandByInfo in project coprhd-controller by CoprHD.
the class DisasterRecovery method listJson.
public static void listJson() {
List<DisasterRecoveryDataTable.StandByInfo> disasterRecoveries = Lists.newArrayList();
for (SiteRestRep siteConfig : DisasterRecoveryUtils.getSites()) {
disasterRecoveries.add(new StandByInfo(siteConfig));
}
renderJSON(DataTablesSupport.createJSON(disasterRecoveries, params));
}
Aggregations