Class GitHubBuildStatusNotification.JobScheduledListener
- java.lang.Object
-
- hudson.model.queue.QueueListener
-
- org.jenkinsci.plugins.github_branch_source.GitHubBuildStatusNotification.JobScheduledListener
-
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- GitHubBuildStatusNotification
@Extension public static class GitHubBuildStatusNotification.JobScheduledListener extends QueueListener
With this listener one notifies to GitHub when a Job has been scheduled.Sends: GHCommitState.PENDING
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description JobScheduledListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onEnterWaiting(Queue.WaitingItem wi)
Manages the GitHub Commit Pending Status.-
Methods inherited from class hudson.model.queue.QueueListener
all, onEnterBlocked, onEnterBuildable, onLeaveBlocked, onLeaveBuildable, onLeaveWaiting, onLeft
-
-
-
-
Method Detail
-
onEnterWaiting
public void onEnterWaiting(Queue.WaitingItem wi)
Manages the GitHub Commit Pending Status.- Overrides:
onEnterWaiting
in classQueueListener
-
-