Package hudson.model
Class RestartListener.Default
- java.lang.Object
-
- hudson.model.RestartListener
-
- hudson.model.RestartListener.Default
-
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- RestartListener
@Extension public static class RestartListener.Default extends RestartListener
Default logic. Wait for all the executors to become idle.- See Also:
AsynchronousExecution.blocksRestart()
-
-
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
Constructors Constructor Description Default()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isReadyToRestart()
Called periodically during the safe restart.-
Methods inherited from class hudson.model.RestartListener
all, isAllReady, onRestart
-
-
-
-
Method Detail
-
isReadyToRestart
public boolean isReadyToRestart() throws IOException, InterruptedException
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
-
-