defined a getter. needed by the ruby effort

This commit is contained in:
Kohsuke Kawaguchi committed 2011-08-09 15:12:16 -07:00
1 parent 6cac3f694c
commit 481b43f607
1 file changed
+9
+9
View File
@@ -95,6 +95,15 @@ public abstract class Plugin implements Saveable {
public void setServletContext(ServletContext context) {
}
/**
* Gets the paired {@link PluginWrapper}.
*
* @since 1.426
*/
public PluginWrapper getWrapper() {
return wrapper;
}
/**
* Called to allow plugins to initialize themselves.
*