Expose the full mappings in property descriptor util

This commit is contained in:
Clément Fournier
2017-11-25 16:15:42 +01:00
parent cbef7a5602
commit 4724ed4636

View File

@ -56,6 +56,16 @@ public class PropertyDescriptorUtil {
private PropertyDescriptorUtil() {
}
/**
* Returns the full mappings from type ids to extractors.
*
* @return The full mapping.
*/
public static Map<String, PropertyDescriptorExternalBuilder<?>> typeIdsToExtractors() {
return DESCRIPTOR_FACTORIES_BY_TYPE;
}
/**
* Gets the factory for the descriptor identified by the string id.