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

Method addAutoloadPlugin

src/main/java/gate/Gate.java:1067–1074  ·  view source on GitHub ↗

Adds a new directory to the list of plugins that are loaded automatically at start-up. @param plugin the plugin to add to the list of autoload plugins.

(Plugin plugin)

Source from the content-addressed store, hash-verified

1065 * the plugin to add to the list of autoload plugins.
1066 */
1067 public static void addAutoloadPlugin(Plugin plugin) {
1068
1069 if(autoloadPlugins.contains(plugin)) return;
1070 // make sure it's known
1071 addKnownPlugin(plugin);
1072 // add it to autoload list
1073 autoloadPlugins.add(plugin);
1074 }
1075
1076 /**
1077 * Gets the information about a known directory.

Callers 2

Calls 3

addKnownPluginMethod · 0.95
addMethod · 0.65
containsMethod · 0.45

Tested by

no test coverage detected