提交 e68917b5 编写于 作者: K kohsuke

these are extension points.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1644 71c3de6d-444a-0410-be80-ed276b4c234a
上级 04f09648
......@@ -2,6 +2,7 @@ package hudson.model.listeners;
import hudson.model.Hudson;
import hudson.model.Job;
import hudson.ExtensionPoint;
/**
* Receives notifications about jobs.
......@@ -12,7 +13,7 @@ import hudson.model.Job;
* @author Kohsuke Kawaguchi
* @see Hudson#addListener(JobListener)
*/
public abstract class JobListener {
public abstract class JobListener implements ExtensionPoint {
/**
* Called after a new job is created and added to {@link Hudson}.
*/
......
......@@ -6,6 +6,7 @@ import hudson.model.BuildListener;
import hudson.model.Hudson;
import hudson.scm.ChangeLogSet;
import hudson.scm.SCM;
import hudson.ExtensionPoint;
/**
* Receives notifications about SCM activities in Hudson.
......@@ -20,7 +21,7 @@ import hudson.scm.SCM;
* @see Hudson#getSCMListeners()
* @since 1.70
*/
public abstract class SCMListener {
public abstract class SCMListener implements ExtensionPoint {
/**
* Called once the changelog is determined.
*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册