for (Descriptor descriptor : descriptors) {
// Verify if the descriptor ID and version match an expected pattern
// for the descriptor's
// files. See the matcher for the actual matching criteria.
if (!matcher.match(descriptor)) {
continue;
}
ContentItem item = new ContentItem(descriptor.getId());
item.setLocalDescriptor(descriptor);
items.add(item);