protected static Map<PluginType, Set<String>> loadManifest(URL baseUrl) throws MalformedURLException {
            Map<PluginType, Set<String>> manifests = new EnumMap<>(PluginType.class);
            for (PluginType type : PluginType.values()) {
                Set<String> result;
                try {
                    URL u = new URL(baseUrl, MANIFEST_PREFIX + type.superClass().getName());
                    result = parse(u);
                } catch (RuntimeException e) {
                    result = new LinkedHashSet<>();
                }
                manifests.put(type, result);
            }
            return manifests;
        }
A workspace scoped to a single plugin source.
<p>Buffers simulated reads and writes to the plugin path before they can be written to disk.
@param <T> The data structure used by the workspace to store in-memory manifests internally.
tools/src/main/java/org/apache/kafka/tools/ManifestWorkspace.java