提交 481b43f6 编写于 作者: K Kohsuke Kawaguchi

defined a getter. needed by the ruby effort

上级 6cac3f69
...@@ -95,6 +95,15 @@ public abstract class Plugin implements Saveable { ...@@ -95,6 +95,15 @@ public abstract class Plugin implements Saveable {
public void setServletContext(ServletContext context) { 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. * Called to allow plugins to initialize themselves.
* *
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册