net.hurstfrost.hudson.sounds
Class SoundsAgentAction.SoundsAgentActionDescriptor

java.lang.Object
  extended by hudson.model.Descriptor<SoundsAgentAction>
      extended by net.hurstfrost.hudson.sounds.SoundsAgentAction.SoundsAgentActionDescriptor
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
SoundsAgentAction

@Extension
public static final class SoundsAgentAction.SoundsAgentActionDescriptor
extends hudson.model.Descriptor<SoundsAgentAction>


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType
 
Field Summary
protected  boolean globalMute
           
protected  int version
           
protected  java.util.List<net.hurstfrost.hudson.sounds.TimestampedSound> wavsToPlay
           
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
SoundsAgentAction.SoundsAgentActionDescriptor()
           
 
Method Summary
 void addSound(java.lang.String sound, java.lang.Integer delay)
           
 void addSound(java.net.URL url, java.lang.Integer delay)
           
 void cancelSounds()
           
 hudson.util.FormValidation doTestSound(java.lang.String selectedSound)
           
 hudson.util.FormValidation doTestUrl(java.lang.String soundUrl)
           
 java.lang.String getDisplayName()
           
 java.util.List<HudsonSoundsNotifier.HudsonSoundsDescriptor.SoundBite> getSounds()
           
 boolean isGlobalMute()
           
 void setGlobalMute(boolean mute)
           
 net.hurstfrost.hudson.sounds.TimestampedSound soundAtOffset(int o)
           
 hudson.util.FormValidation validateUrl(java.lang.String soundUrl)
           
 
Methods inherited from class hudson.model.Descriptor
calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getJsonSafeClassName, getPropertyType, getPropertyType, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, save, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wavsToPlay

protected transient java.util.List<net.hurstfrost.hudson.sounds.TimestampedSound> wavsToPlay

version

protected transient int version

globalMute

protected boolean globalMute
Constructor Detail

SoundsAgentAction.SoundsAgentActionDescriptor

public SoundsAgentAction.SoundsAgentActionDescriptor()
Method Detail

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in class hudson.model.Descriptor<SoundsAgentAction>

addSound

public void addSound(java.lang.String sound,
                     java.lang.Integer delay)
Parameters:
sound -
delay - amount of time to wait before playing sound, or null to enable auto-sync

addSound

public void addSound(java.net.URL url,
                     java.lang.Integer delay)
Parameters:
url -
delay - amount of time to wait before playing sound, or null to enable auto-sync

cancelSounds

public void cancelSounds()

soundAtOffset

public net.hurstfrost.hudson.sounds.TimestampedSound soundAtOffset(int o)

getSounds

public java.util.List<HudsonSoundsNotifier.HudsonSoundsDescriptor.SoundBite> getSounds()

isGlobalMute

public boolean isGlobalMute()

setGlobalMute

public void setGlobalMute(boolean mute)

validateUrl

public hudson.util.FormValidation validateUrl(java.lang.String soundUrl)

doTestSound

public hudson.util.FormValidation doTestSound(@QueryParameter
                                              java.lang.String selectedSound)

doTestUrl

public hudson.util.FormValidation doTestUrl(@QueryParameter
                                            java.lang.String soundUrl)


Copyright © 2013. All Rights Reserved.