@Extension
public class SyncQueueListener
extends hudson.model.queue.QueueListener
Publishes:
Events.JobChannel#job_run_queue_enter
Events.JobChannel#job_run_queue_buildable
Events.JobChannel#job_run_queue_left
Events.JobChannel#job_run_queue_blocked
Constructor and Description |
---|
SyncQueueListener() |
Modifier and Type | Method and Description |
---|---|
void |
onEnterBlocked(hudson.model.Queue.BlockedItem bi) |
void |
onEnterBuildable(hudson.model.Queue.BuildableItem bi) |
void |
onEnterWaiting(hudson.model.Queue.WaitingItem wi) |
void |
onLeft(hudson.model.Queue.LeftItem li) |
static void |
shutdown() |
public static void shutdown()
public void onEnterWaiting(hudson.model.Queue.WaitingItem wi)
onEnterWaiting
in class hudson.model.queue.QueueListener
public void onEnterBuildable(hudson.model.Queue.BuildableItem bi)
onEnterBuildable
in class hudson.model.queue.QueueListener
public void onLeft(hudson.model.Queue.LeftItem li)
onLeft
in class hudson.model.queue.QueueListener
public void onEnterBlocked(hudson.model.Queue.BlockedItem bi)
onEnterBlocked
in class hudson.model.queue.QueueListener
Copyright © 2016–2019. All rights reserved.