Package | Description |
---|---|
hudson.lifecycle | |
jenkins.model |
Modifier and Type | Method and Description |
---|---|
void |
Lifecycle.verifyRestartable()
Can the
Lifecycle.restart() method restart Hudson? |
void |
UnixLifecycle.verifyRestartable() |
Modifier and Type | Method and Description |
---|---|
void |
Jenkins.doRestart(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Perform a restart of Jenkins, if we can.
|
org.kohsuke.stapler.HttpResponse |
Jenkins.doSafeRestart(org.kohsuke.stapler.StaplerRequest req)
Queues up a restart of Jenkins for when there are no builds running, if we can.
|
void |
Jenkins.restart()
Performs a restart.
|
void |
Jenkins.safeRestart()
Queues up a restart to be performed once there are no builds currently running.
|
Copyright © 2004–2021. All rights reserved.