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, prebuild
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public HudsonSoundsNotifier.HudsonSoundsDescriptor getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Publisher>
getDescriptor
in class hudson.tasks.Notifier
public boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws InterruptedException, IOException
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
InterruptedException
IOException
public 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–2022. All rights reserved.