@Extension
public class EventBusQueueTaskDispatcher
extends hudson.model.queue.QueueTaskDispatcher
implements org.vertx.java.core.Handler<org.vertx.java.core.eventbus.Message<org.vertx.java.core.json.JsonObject>>
| Constructor and Description |
|---|
EventBusQueueTaskDispatcher() |
| Modifier and Type | Method and Description |
|---|---|
hudson.model.queue.CauseOfBlockage |
canRun(hudson.model.Queue.Item queueItem) |
void |
close()
Called by
PluginImpl to shut us down. |
void |
handle(org.vertx.java.core.eventbus.Message<org.vertx.java.core.json.JsonObject> msg) |
void |
init() |
void |
setEventBus(org.vertx.java.core.eventbus.EventBus eventBus)
Setter for eventBus.
|
void |
setJenkins(jenkins.model.Jenkins jenkins)
Setter for jenkins.
|
void |
setTimeoutMillis(int timeoutMillis)
Setter for timeoutMillis.
|
public void setJenkins(jenkins.model.Jenkins jenkins)
jenkins - new value for jenkinspublic void setEventBus(org.vertx.java.core.eventbus.EventBus eventBus)
eventBus - new value for eventBuspublic void setTimeoutMillis(int timeoutMillis)
timeoutMillis - new value for timeoutMillispublic void init()
public void close()
PluginImpl to shut us down.public void handle(org.vertx.java.core.eventbus.Message<org.vertx.java.core.json.JsonObject> msg)
handle in interface org.vertx.java.core.Handler<org.vertx.java.core.eventbus.Message<org.vertx.java.core.json.JsonObject>>public hudson.model.queue.CauseOfBlockage canRun(hudson.model.Queue.Item queueItem)
canRun in class hudson.model.queue.QueueTaskDispatcherCopyright © 2004-2012. All Rights Reserved.