hudson.model
Class RestartListener.Default

java.lang.Object
  extended by hudson.model.RestartListener
      extended by 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.


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
RestartListener.Default()
           
 
Method Summary
 boolean isReadyToRestart()
          Called periodically during the safe restart.
 
Methods inherited from class hudson.model.RestartListener
all, isAllReady, onRestart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestartListener.Default

public RestartListener.Default()
Method Detail

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.