Package com.testdroid.jenkins.scheduler
Class HookUrlResultWaiter
java.lang.Object
hudson.Plugin
com.testdroid.jenkins.scheduler.HookUrlResultWaiter
- All Implemented Interfaces:
ModelObject
,Saveable
,org.kohsuke.stapler.StaplerProxy
REST listener, that responds to hooks from the backend. We exploit the Jenkins instance to produce a singleton
listener class.
Rationale:
Extending "Plugin" gives us access to the my-jenkins-url:8080/plugin/my-special-plugin/api/json endpoint, which is
why we use it here.
We also implement "ModelObject" purely to listen for requests, even though the Jenkins API describes this as a
means to "expose your plugin data".
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.Plugin
Plugin.DummyImpl
-
Field Summary
Fields inherited from class hudson.Plugin
SKIP_PERMISSION_CHECK
-
Constructor Summary
-
Method Summary
Methods inherited from class hudson.Plugin
configure, configure, doDynamic, getConfigXml, getTarget, getWrapper, load, postInitialize, save, setServletContext, start, stop
-
Constructor Details
-
HookUrlResultWaiter
public HookUrlResultWaiter()
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayName
in interfaceModelObject
-
getApi
-