public abstract class ApprovalListener extends Object implements ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
ApprovalListener() |
Modifier and Type | Method and Description |
---|---|
abstract void |
onApproved(String hash)
Called when a script is approved.
|
void |
onApprovedClasspathEntry(String hash,
URL url)
Called when a classpath entry is approved.
|
public abstract void onApproved(String hash)
hash
- an opaque token as in UnapprovedUsageException.getHash()
public void onApprovedClasspathEntry(String hash, URL url)
hash
- an opaque token as in UnapprovedClasspathException.getHash()
url
- its locationCopyright © 2016–2023. All rights reserved.