net.hurstfrost.hudson.sounds
Class SoundsAgentAction.SoundsAgentActionDescriptor
java.lang.Object
hudson.model.Descriptor<SoundsAgentAction>
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 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 |
| 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 |
wavsToPlay
protected transient java.util.List<net.hurstfrost.hudson.sounds.TimestampedSound> wavsToPlay
version
protected transient int version
globalMute
protected boolean globalMute
SoundsAgentAction.SoundsAgentActionDescriptor
public SoundsAgentAction.SoundsAgentActionDescriptor()
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.