Skip to content

Instantly share code, notes, and snippets.

@rinrinne
Last active January 3, 2016 10:39
Show Gist options
  • Save rinrinne/8450799 to your computer and use it in GitHub Desktop.
Save rinrinne/8450799 to your computer and use it in GitHub Desktop.
present implementation
package org.jenkinsci.plugins.study;
import com.sonyericsson.hudson.plugins.gerrit.trigger.PluginImpl;
class MyPlugin extends Plugin {
public void postEvent(String eventString) {
PluginImpl.getInstance().getHandler().post(eventString);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment