@Internal
public interface ServerLifecycleManager
ServerLifecycleProvider to get current server life cycle| Modifier and Type | Method and Description |
|---|---|
ServerLifecycleState |
getServerLifecycleState() |
ServerLifecycleState |
pauseServer()
Puts the server into the
ServerLifecycleState.PAUSING state |
ServerLifecycleState |
prepareForRestart()
Puts the server into the
ServerLifecycleState.PREPARING_FOR_RESTART state |
ServerLifecycleState |
resumeServer()
Puts the server into the
ServerLifecycleState.RUNNING state |
void |
serverRunning()
Puts the server into the
ServerLifecycleState.RUNNING state |
void |
serverStarting()
Puts the server into the
ServerLifecycleState.STARTING state |
void serverStarting()
ServerLifecycleState.STARTING statevoid serverRunning()
ServerLifecycleState.RUNNING state@NotNull ServerLifecycleState pauseServer()
ServerLifecycleState.PAUSING stateServerLifecycleState@NotNull ServerLifecycleState prepareForRestart()
ServerLifecycleState.PREPARING_FOR_RESTART stateServerLifecycleState@NotNull ServerLifecycleState resumeServer()
ServerLifecycleState.RUNNING stateServerLifecycleState@NotNull ServerLifecycleState getServerLifecycleState()
ServerLifecycleStateCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.