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)
| 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. |
no test coverage detected