1 package net.pterodactylus.fcp;
4 * The “ReloadPlugin” message is used to reload a plugin.
6 * @author <a href="mailto:bombe@freenetproject.org">David ‘Bombe’ Roden</a>
8 public class ReloadPlugin extends FcpMessage {
10 public ReloadPlugin(String identifier) {
11 super("ReloadPlugin");
12 setField("Identifier", identifier);
15 public void setPluginName(String pluginName) {
16 setField("PluginName", pluginName);
19 public void setMaxWaitTime(int maxWaitTime) {
20 setField("MaxWaitTime", String.valueOf(maxWaitTime));
23 public void setPurge(boolean purge) {
24 setField("Purge", String.valueOf(purge));
27 public void setStore(boolean store) {
28 setField("Store", String.valueOf(store));