Class Reaper.ReaperShutdownListener
- java.lang.Object
-
- hudson.model.listeners.ItemListener
-
- org.csanchez.jenkins.plugins.kubernetes.pod.retention.Reaper.ReaperShutdownListener
-
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- Reaper
@Extension public static class Reaper.ReaperShutdownListener extends ItemListener
Only useful for tests which shutdown Jenkins without terminating the JVM. Close the watch so that we don't end up with spam in logs
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description ReaperShutdownListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onBeforeShutdown()
-
Methods inherited from class hudson.model.listeners.ItemListener
all, checkBeforeCopy, fireLocationChange, fireOnCopied, fireOnCreated, fireOnDeleted, fireOnUpdated, onCheckCopy, onCopied, onCreated, onDeleted, onLoaded, onLocationChanged, onRenamed, onUpdated, register
-
-
-
-
Method Detail
-
onBeforeShutdown
public void onBeforeShutdown()
- Overrides:
onBeforeShutdown
in classItemListener
-
-