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
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
-
Method Summary
Methods inherited from class hudson.model.listeners.ItemListener
all, checkBeforeCopy, fireLocationChange, fireOnCopied, fireOnCreated, fireOnDeleted, fireOnUpdated, onCheckCopy, onCopied, onCreated, onDeleted, onLoaded, onLocationChanged, onRenamed, onUpdated, register
-
Constructor Details
-
ReaperShutdownListener
public ReaperShutdownListener()
-
-
Method Details
-
onBeforeShutdown
public void onBeforeShutdown()- Overrides:
onBeforeShutdown
in classItemListener
-