Class DurableTaskStep.Execution.CheckForTerminating
java.lang.Object
hudson.model.listeners.ItemListener
org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep.Execution.CheckForTerminating
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- DurableTaskStep.Execution
@Extension
public static final class DurableTaskStep.Execution.CheckForTerminating
extends ItemListener
Works around the fact that
Terminator
is run before Jenkins.isTerminating()
is set.-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class hudson.model.listeners.ItemListener
all, checkBeforeCopy, checkBeforeDelete, fireLocationChange, fireOnCopied, fireOnCreated, fireOnDeleted, fireOnUpdated, onCheckCopy, onCheckDelete, onCopied, onCreated, onDeleted, onLoaded, onLocationChanged, onRenamed, onUpdated, register
-
Constructor Details
-
CheckForTerminating
public CheckForTerminating()
-
-
Method Details
-
onBeforeShutdown
public void onBeforeShutdown()- Overrides:
onBeforeShutdown
in classItemListener
-