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.
Method Summary |
boolean |
isReadyToRestart()
Called periodically during the safe restart. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestartListener.Default
public RestartListener.Default()
isReadyToRestart
public boolean isReadyToRestart()
throws IOException,
InterruptedException
- Description copied from class:
RestartListener
- Called periodically during the safe restart.
- Specified by:
isReadyToRestart
in class RestartListener
- Returns:
- false to block the restart
- Throws:
IOException
InterruptedException
Copyright © 2004-2013. All Rights Reserved.