@Extension public static class PeepholePermalink.RunListenerImpl extends RunListener<Run<?,?>>
ExtensionPoint.LegacyInstancesAreScopedToHudsonLISTENERS, targetType| Constructor and Description |
|---|
RunListenerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
onCompleted(Run<?,?> run,
TaskListener listener)
See if the new build matches any of the peephole permalink.
|
void |
onDeleted(Run run)
If any of the peephole permalink points to the build to be deleted, update it to point to the new location.
|
all, fireCompleted, fireDeleted, fireFinalized, fireStarted, onFinalized, onStarted, register, setUpEnvironment, unregisterpublic void onDeleted(Run run)
onDeleted in class RunListener<Run<?,?>>run - The build.public void onCompleted(Run<?,?> run, @Nonnull TaskListener listener)
onCompleted in class RunListener<Run<?,?>>run - The completed build.listener - The listener for this build. This can be used to produce log messages, for example,
which becomes a part of the "console output" of this build. But when this method runs,
the build is considered completed, so its status cannot be changed anymore.Copyright © 2019. All rights reserved.