Add method to add wait time for reloading plugins
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / quelaton / ReloadPluginCommand.java
1 package net.pterodactylus.fcp.quelaton;
2
3 import java.util.Optional;
4
5 import net.pterodactylus.fcp.PluginInfo;
6
7 /**
8  * Reloads a plugin.
9  *
10  * @author <a href="mailto:bombe@freenetproject.org">David ‘Bombe’ Roden</a>
11  */
12 public interface ReloadPluginCommand {
13
14         ReloadPluginCommand waitFor(int milliseconds);
15         Executable<Optional<PluginInfo>> plugin(String pluginClassName);
16
17 }