@Extension public static class PeepholePermalink.RunListenerImpl extends RunListener<Run<?,?>>
ExtensionPoint.LegacyInstancesAreScopedToHudson
LISTENERS, 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, fireInitialize, fireStarted, onFinalized, onInitialize, onStarted, register, setUpEnvironment, unregister
public 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 © 2004–2021. All rights reserved.