use of org.commonjava.indy.model.spi.AddOnListing in project indy by Commonjava.
the class StatsController method getActiveAddOns.
public AddOnListing getActiveAddOns() {
final List<IndyAddOnID> ids = new ArrayList<IndyAddOnID>();
if (addons != null) {
logger.info("Getting list of installed add-ons...");
for (final IndyAddOn addon : addons) {
final IndyAddOnID id = addon.getId();
logger.info("Adding {}", id);
ids.add(id);
}
}
return new AddOnListing(ids);
}
Aggregations