jenkins.plugins.htmlaudio.app
Class Controller
java.lang.Object
jenkins.plugins.htmlaudio.app.Controller
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Action, hudson.model.ModelObject, hudson.model.RootAction
@Extension
public final class Controller
- extends java.lang.Object
- implements hudson.model.RootAction
Acts as a controller for the javascript/JSON client, which may or may not be total abuse of
RootAction =).
- Author:
- Lars Hvile
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Controller
public Controller()
setServerUrlResolver
public void setServerUrlResolver(ServerUrlResolver serverUrlResolver)
setRepository
public void setRepository(BuildEventRepository repository)
setCleanupService
public void setCleanupService(BuildEventCleanupService cleanupService)
setConfiguration
public void setConfiguration(Configuration configuration)
doIsEnabledByDefault
public void doIsEnabledByDefault(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse resp)
throws java.io.IOException
- Returns a simple true/false indicating whether or not the client should be enabled by default.
- Throws:
java.io.IOException
doNext
public void doNext(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse resp)
throws java.io.IOException
- Handles requests by clients polling for new sounds to play.
- Throws:
java.io.IOException
doToAbsoluteUrl
public void doToAbsoluteUrl(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse resp)
throws java.io.IOException
- Converts an URL to an absolute URL if necessary. Used by the configuration-page for testing
sounds in the browser.
- Throws:
java.io.IOException
getUrlName
public java.lang.String getUrlName()
- Specified by:
getUrlName in interface hudson.model.Action
getIconFileName
public java.lang.String getIconFileName()
- Specified by:
getIconFileName in interface hudson.model.Action
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName in interface hudson.model.Action- Specified by:
getDisplayName in interface hudson.model.ModelObject
Copyright © 2004-2011. All Rights Reserved.