@Extension @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public static final class WorkloadReporter.Detector extends QueueListener
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
Detector() |
| Modifier and Type | Method and Description |
|---|---|
static WorkloadReporter.Detector |
getInstance() |
void |
onEnterBuildable(Queue.BuildableItem bi) |
void |
onLeaveBuildable(Queue.BuildableItem bi) |
void |
onLeft(Queue.LeftItem li) |
void |
update() |
all, onEnterBlocked, onEnterWaiting, onLeaveBlocked, onLeaveWaiting@Nonnull public static WorkloadReporter.Detector getInstance()
public void onEnterBuildable(Queue.BuildableItem bi)
onEnterBuildable in class QueueListenerpublic void onLeaveBuildable(Queue.BuildableItem bi)
onLeaveBuildable in class QueueListenerpublic void onLeft(Queue.LeftItem li)
onLeft in class QueueListenerpublic void update()
Copyright © 2016–2019. All rights reserved.