|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.model.RestartListener
public abstract class RestartListener
Extension point that allows plugins to veto the restart.
Nested Class Summary | |
---|---|
static class |
RestartListener.Default
Default logic. |
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
---|
ExtensionPoint.LegacyInstancesAreScopedToHudson |
Constructor Summary | |
---|---|
RestartListener()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RestartListener()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |