Package hudson.model
Class RestartListener.Default
java.lang.Object
hudson.model.RestartListener
hudson.model.RestartListener.Default
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- RestartListener
Default logic. Wait for all the executors to become idle.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.RestartListener
RestartListener.Default
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Called periodically during the safe restart.Methods inherited from class hudson.model.RestartListener
all, isAllReady, onRestart
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
isReadyToRestart
Description copied from class:RestartListener
Called periodically during the safe restart.- Specified by:
isReadyToRestart
in classRestartListener
- Returns:
- false to block the restart
- Throws:
IOException
InterruptedException
-