net.hurstfrost.hudson.sounds
Class HudsonSoundsNotifier

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Notifier
              extended by 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 Class Summary
static class HudsonSoundsNotifier.HudsonSoundsDescriptor
           
static class HudsonSoundsNotifier.SoundEvent
           
static class HudsonSoundsNotifier.UnplayableSoundBiteException
           
 
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
 
Field Summary
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
HudsonSoundsNotifier()
           
 
Method Summary
 HudsonSoundsNotifier.HudsonSoundsDescriptor getDescriptor()
           
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
 HudsonSoundsNotifier.SoundEvent getSoundEventFor(hudson.model.Result result, hudson.model.Result previousResult)
           
 java.util.List<HudsonSoundsNotifier.SoundEvent> getSoundEvents()
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 void setSoundEvents(java.util.List<HudsonSoundsNotifier.SoundEvent> newSounds)
           
 
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
 

Constructor Detail

HudsonSoundsNotifier

@DataBoundConstructor
public HudsonSoundsNotifier()
Method Detail

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.