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() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
void |
setSoundEvents(List<HudsonSoundsNotifier.SoundEvent> newSounds) |
all, getProjectAction, needsToRunAfterFinalized, prebuildpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public HudsonSoundsNotifier.HudsonSoundsDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Notifierpublic 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(@Nullable hudson.model.Result result, @Nullable hudson.model.Result previousResult)
Copyright © 2016–2020. All rights reserved.