// All of these properties must exist, any nulls should trigger runtime exceptions which is what we want
// because if the configuration is bad, this content source should not initialize.
List<Property> packageTypesList = list.getList();
for (Property property : packageTypesList) {
PropertyMap pkgType = (PropertyMap) property;
SupportedPackageType supportedPackageType = new SupportedPackageType();
supportedPackageType.packageTypeName = pkgType.getSimpleValue("packageTypeName", null);
supportedPackageType.architectureName = pkgType.getSimpleValue("architectureName", null);
supportedPackageType.resourceTypeName = pkgType.getSimpleValue("resourceTypeName", null);
supportedPackageType.resourceTypePluginName = pkgType.getSimpleValue("resourceTypePluginName", null);