return result.build();
}
@Override
public Iterable<Iterable<ProductItem>> listHardwareProfiles() {
ProductPackage productPackage = productPackageSupplier.get();
Set<ProductItem> items = productPackage.getItems();
Builder<Iterable<ProductItem>> result = ImmutableSet.builder();
for (ProductItem cpuItem : filter(items, matches(cpuPattern))) {
for (ProductItem ramItem : filter(items, categoryCode("ram"))) {
for (ProductItem sanItem : filter(items, and(matches(disk0Type), categoryCode("guest_disk0")))) {
result.add(ImmutableSet.of(cpuItem, ramItem, sanItem));