Class PeriodicBackupRestartListener
- java.lang.Object
-
- hudson.model.RestartListener
-
- org.jenkinsci.plugins.periodicbackup.PeriodicBackupRestartListener
-
- All Implemented Interfaces:
hudson.ExtensionPoint
@Extension public class PeriodicBackupRestartListener extends hudson.model.RestartListenerThis RestartListener will veto the restart of Hudson (via safeRestart) while a restore is ongoing.
-
-
Constructor Summary
Constructors Constructor Description PeriodicBackupRestartListener()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PeriodicBackupRestartListenerget()booleanisReadyToRestart()voidnotReady()voidready()
-
-
-
Method Detail
-
ready
public void ready()
-
notReady
public void notReady()
-
isReadyToRestart
public boolean isReadyToRestart() throws IOException, InterruptedException- Specified by:
isReadyToRestartin classhudson.model.RestartListener- Throws:
IOExceptionInterruptedException
-
get
public static PeriodicBackupRestartListener get()
-
-