Browse Source

Make PluginWrapper#setPluginState and PluginWrapper#setPluginFactory public to better support custom plugin managers (#329)

pull/330/head
Johannes Schüth 5 years ago committed by Decebal Suiu
parent
commit
9c177204db
  1. 4
      pf4j/src/main/java/org/pf4j/PluginWrapper.java

4
pf4j/src/main/java/org/pf4j/PluginWrapper.java

@ -131,11 +131,11 @@ public class PluginWrapper {
return "PluginWrapper [descriptor=" + descriptor + ", pluginPath=" + pluginPath + "]"; return "PluginWrapper [descriptor=" + descriptor + ", pluginPath=" + pluginPath + "]";
} }
void setPluginState(PluginState pluginState) { public void setPluginState(PluginState pluginState) {
this.pluginState = pluginState; this.pluginState = pluginState;
} }
void setPluginFactory(PluginFactory pluginFactory) { public void setPluginFactory(PluginFactory pluginFactory) {
this.pluginFactory = pluginFactory; this.pluginFactory = pluginFactory;
} }

Loading…
Cancel
Save