org.hudsonci.rest.plugin.cometd
Class CometdProvider
java.lang.Object
org.hudsonci.rest.plugin.ApiProvider
org.hudsonci.rest.plugin.cometd.CometdProvider
@Named
@Singleton
public class CometdProvider
- extends ApiProvider
Configures support for Bayeux via CometD.
- Since:
- 2.1.0
- Author:
- Jason Dillon
CometdProvider
public CometdProvider()
getBayeux
public static org.cometd.Bayeux getBayeux()
isEnabled
public boolean isEnabled()
- Overrides:
isEnabled in class ApiProvider
setEnabled
public void setEnabled(boolean enabled)
- Overrides:
setEnabled in class ApiProvider
toString
public String toString()
- Overrides:
toString in class Object
getChannel
public static org.cometd.Channel getChannel(String channel,
boolean create)
Copyright © 2004-2011 Hudson. All Rights Reserved.