public class HudsonSoundsNotifier
extends hudson.tasks.Notifier
Notifier that allows Jenkins to play audio clips as build notifications.| Modifier and Type | Class and Description |
|---|---|
static class |
HudsonSoundsNotifier.HudsonSoundsDescriptor |
static class |
HudsonSoundsNotifier.PLAY_METHOD |
static class |
HudsonSoundsNotifier.SoundEvent |
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
HudsonSoundsNotifier() |
| Modifier and Type | Method and Description |
|---|---|
HudsonSoundsNotifier.HudsonSoundsDescriptor |
getDescriptor() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
HudsonSoundsNotifier.SoundEvent |
getSoundEventFor(hudson.model.Result result,
hudson.model.Result previousResult) |
List<HudsonSoundsNotifier.SoundEvent> |
getSoundEvents() |
static HudsonSoundsNotifier.HudsonSoundsDescriptor |
getSoundsDescriptor() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
void |
setSoundEvents(List<HudsonSoundsNotifier.SoundEvent> newSounds) |
protected static String |
toUri(String path) |
all, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectAction, getProjectActions, perform, prebuildpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public HudsonSoundsNotifier.HudsonSoundsDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Notifierpublic static HudsonSoundsNotifier.HudsonSoundsDescriptor getSoundsDescriptor()
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionpublic List<HudsonSoundsNotifier.SoundEvent> getSoundEvents()
public void setSoundEvents(List<HudsonSoundsNotifier.SoundEvent> newSounds)
public HudsonSoundsNotifier.SoundEvent getSoundEventFor(hudson.model.Result result, hudson.model.Result previousResult)
Copyright © 2004-2016. All Rights Reserved.