@Extension public final class PluginConfiguration extends Object implements Configuration
Configuration-interface.| Constructor and Description |
|---|
PluginConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getSoundUrl(BuildResult result)
Returns a configured sound for a provided
BuildResult or null. |
boolean |
isEnabledByDefault()
Returns
true if the notification-client should be enabled by default. |
boolean |
isLongPollingEnabled()
Returns
true if long-polling is enabled. |
void |
setPluginDescriptor(HtmlAudioNotifierPlugin.PluginDescriptor descriptor) |
public void setPluginDescriptor(HtmlAudioNotifierPlugin.PluginDescriptor descriptor)
public boolean isEnabledByDefault()
Configurationtrue if the notification-client should be enabled by default.isEnabledByDefault in interface Configurationpublic boolean isLongPollingEnabled()
Configurationtrue if long-polling is enabled. In this mode, client requests are blocked until
new events are ready, or until a timeout is reached, resulting in faster feedback.isLongPollingEnabled in interface Configurationpublic String getSoundUrl(BuildResult result)
ConfigurationBuildResult or null.getSoundUrl in interface ConfigurationCopyright © 2004-2011. All Rights Reserved.