MCPcopy Create free account
hub / github.com/GateNLP/gate-core / addKnownPlugin

Method addKnownPlugin

src/main/java/gate/Gate.java:1018–1022  ·  view source on GitHub ↗

Adds the plugin to the list of known plugins. @param plugin the plugin to add to the list of known plugins.

(Plugin plugin)

Source from the content-addressed store, hash-verified

1016 * the plugin to add to the list of known plugins.
1017 */
1018 public static void addKnownPlugin(Plugin plugin) {
1019 if(knownPlugins.contains(plugin)) return;
1020 if (PluginUpdateManager.getDefaultPlugins().contains(plugin)) return;
1021 knownPlugins.add(plugin);
1022 }
1023
1024 /**
1025 * Makes sure the provided URL ends with "/" (CREOLE URLs always point to

Callers 4

addAutoloadPluginMethod · 0.95
registerPluginMethod · 0.95
actionPerformedMethod · 0.95

Calls 3

getDefaultPluginsMethod · 0.95
addMethod · 0.65
containsMethod · 0.45

Tested by

no test coverage detected