@Extension public static final class SoundsAgentAction.SoundsAgentActionDescriptor extends hudson.model.Descriptor<SoundsAgentAction>
Modifier and Type | Field and Description |
---|---|
protected boolean |
globalMute |
protected int |
version |
protected List<net.hurstfrost.hudson.sounds.TimestampedSound> |
wavsToPlay |
Constructor and Description |
---|
SoundsAgentActionDescriptor() |
Modifier and Type | Method and Description |
---|---|
protected void |
addSound(String sound,
Integer delay) |
void |
addSound(URL url,
Integer delay) |
void |
cancelSounds() |
hudson.util.FormValidation |
doTestSound(String selectedSound) |
hudson.util.FormValidation |
doTestUrl(String soundUrl) |
static SoundsAgentAction.SoundsAgentActionDescriptor |
getDescriptor() |
String |
getDisplayName() |
List<HudsonSoundsNotifier.HudsonSoundsDescriptor.SoundBite> |
getSounds() |
boolean |
isGlobalMute() |
protected void |
playSound(InputStream stream,
Integer afterDelayMs) |
protected void |
playSound(URL url,
Integer afterDelayMs) |
void |
setGlobalMute(boolean mute) |
net.hurstfrost.hudson.sounds.TimestampedSound |
soundAtOffset(int o) |
hudson.util.FormValidation |
validateUrl(String soundUrl) |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
protected transient List<net.hurstfrost.hudson.sounds.TimestampedSound> wavsToPlay
protected transient int version
protected boolean globalMute
public static SoundsAgentAction.SoundsAgentActionDescriptor getDescriptor()
public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<SoundsAgentAction>
public void addSound(URL url, Integer delay)
url
- URL to sound resourcedelay
- amount of time to wait before playing sound, or null to enable auto-syncpublic void cancelSounds()
public net.hurstfrost.hudson.sounds.TimestampedSound soundAtOffset(int o)
public List<HudsonSoundsNotifier.HudsonSoundsDescriptor.SoundBite> getSounds()
public boolean isGlobalMute()
public void setGlobalMute(boolean mute)
public hudson.util.FormValidation validateUrl(String soundUrl)
public hudson.util.FormValidation doTestSound(@QueryParameter String selectedSound)
public hudson.util.FormValidation doTestUrl(@QueryParameter String soundUrl)
protected void playSound(InputStream stream, Integer afterDelayMs) throws UnsupportedAudioFileException, IOException
Copyright © 2016–2022. All rights reserved.