net.hurstfrost.hudson.sounds
Class HudsonSoundsNotifier
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
net.hurstfrost.hudson.sounds.HudsonSoundsNotifier
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep
public class HudsonSoundsNotifier
- extends hudson.tasks.Notifier
Notifier that allows Hudson to play audio clips as build notifications..
- Author:
- Edward Hurst-Frost
| Nested classes/interfaces inherited from class hudson.tasks.Publisher |
hudson.tasks.Publisher.DescriptorExtensionListImpl |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
| Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
| Methods inherited from class hudson.tasks.Publisher |
all, getProjectAction, needsToRunAfterFinalized, prebuild |
| Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
getProjectAction, perform, prebuild |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hudson.tasks.BuildStep |
getProjectAction, prebuild |
HudsonSoundsNotifier
@DataBoundConstructor
public HudsonSoundsNotifier()
getRequiredMonitorService
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getDescriptor
public HudsonSoundsNotifier.HudsonSoundsDescriptor getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>- Overrides:
getDescriptor in class hudson.tasks.Notifier
perform
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
- Specified by:
perform in interface hudson.tasks.BuildStep- Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
getSoundEvents
public java.util.List<HudsonSoundsNotifier.SoundEvent> getSoundEvents()
setSoundEvents
public void setSoundEvents(java.util.List<HudsonSoundsNotifier.SoundEvent> newSounds)
getSoundEventFor
public HudsonSoundsNotifier.SoundEvent getSoundEventFor(hudson.model.Result result,
hudson.model.Result previousResult)
Copyright © 2009. All Rights Reserved.