public abstract class RestartListener extends Object implements ExtensionPoint
Modifier and Type | Class and Description |
---|---|
static class |
RestartListener.Default
Default logic.
|
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
RestartListener() |
Modifier and Type | Method and Description |
---|---|
static ExtensionList<RestartListener> |
all()
Returns all the registered
LabelFinder s. |
static boolean |
isAllReady()
Returns true iff all the listeners OKed the restart.
|
abstract boolean |
isReadyToRestart()
Called periodically during the safe restart.
|
void |
onRestart()
Called immediately before the restart is actually triggered.
|
public abstract boolean isReadyToRestart() throws IOException, InterruptedException
IOException
InterruptedException
public void onRestart()
public static ExtensionList<RestartListener> all()
LabelFinder
s.public static boolean isAllReady() throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2004–2022. All rights reserved.