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
LabelFinders. |
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
IOExceptionInterruptedExceptionpublic void onRestart()
public static ExtensionList<RestartListener> all()
LabelFinders.public static boolean isAllReady()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionCopyright © 2019. All rights reserved.