@Extension public class WebhookAutoRegisterListener extends ItemListener
SCMSourceOwner
item listener that traverse the list of SCMSource
and register
a webhook for every BitbucketSCMSource
found.ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
WebhookAutoRegisterListener() |
Modifier and Type | Method and Description |
---|---|
void |
onCreated(Item item) |
void |
onDeleted(Item item) |
void |
onUpdated(Item item) |
all, checkBeforeCopy, fireLocationChange, fireOnCopied, fireOnCreated, fireOnDeleted, fireOnUpdated, onBeforeShutdown, onCheckCopy, onCopied, onLoaded, onLocationChanged, onRenamed, register
public void onCreated(Item item)
onCreated
in class ItemListener
public void onDeleted(Item item)
onDeleted
in class ItemListener
public void onUpdated(Item item)
onUpdated
in class ItemListener
Copyright © 2016–2022. All rights reserved.