Index
All Classes and Interfaces|All Packages|Constant Field Values
C
- cancel() - Method in class org.jenkins.ci.plugins.saferestart.RestartDrain
-
Stops holding back new builds.
- canRestart() - Static method in class org.jenkins.ci.plugins.saferestart.JenkinsUtils
- canRun(Queue.Item) - Method in class org.jenkins.ci.plugins.saferestart.RestartDrainQueueTaskDispatcher
- checkAndRestart() - Method in class org.jenkins.ci.plugins.saferestart.RestartDrain
-
Triggers the restart if the drain is active and nothing is running.
- Constants - Class in org.jenkins.ci.plugins.saferestart
-
Constant variables which used in plugin.
D
- doCancel() - Method in class org.jenkins.ci.plugins.saferestart.RestartDrainAction
-
Cancels the drain.
- doCancel() - Method in class org.jenkins.ci.plugins.saferestart.RestartDrainAdministrativeMonitor
-
Cancels the drain from the monitor and returns to the Manage Jenkins page.
- doRun() - Method in class org.jenkins.ci.plugins.saferestart.RestartDrainPeriodicWork
- doStart(String) - Method in class org.jenkins.ci.plugins.saferestart.RestartDrainAction
-
Starts the drain.
- DRAIN_URL - Static variable in class org.jenkins.ci.plugins.saferestart.Constants
-
URL of the drain page: block new builds, let running builds finish, then restart.
G
- get() - Static method in class org.jenkins.ci.plugins.saferestart.RestartDrain
- get() - Static method in class org.jenkins.ci.plugins.saferestart.SafeRestartConfiguration
- getCategory() - Method in class org.jenkins.ci.plugins.saferestart.RestartDrainManagementLink
- getCategory() - Method in class org.jenkins.ci.plugins.saferestart.SafeRestartManagementLink
- getDescription() - Method in class org.jenkins.ci.plugins.saferestart.RestartDrainManagementLink
- getDescription() - Method in class org.jenkins.ci.plugins.saferestart.SafeRestartManagementLink
- getDisplayName() - Method in class org.jenkins.ci.plugins.saferestart.RestartDrainAction
- getDisplayName() - Method in class org.jenkins.ci.plugins.saferestart.RestartDrainAdministrativeMonitor
- getDisplayName() - Method in class org.jenkins.ci.plugins.saferestart.RestartDrainManagementLink
- getDisplayName() - Method in class org.jenkins.ci.plugins.saferestart.SafeRestartConfiguration
- getDisplayName() - Method in class org.jenkins.ci.plugins.saferestart.SafeRestartManagementLink
- getDisplayName() - Method in class org.jenkins.ci.plugins.saferestart.SafeRestartRootAction
- getDrain() - Method in class org.jenkins.ci.plugins.saferestart.RestartDrainAction
- getIconFileName() - Method in class org.jenkins.ci.plugins.saferestart.RestartDrainAction
-
Hidden when the "wait for running builds" option is on: the regular "Restart Safely" links lead here already, so a second link would be a duplicate.
- getIconFileName() - Method in class org.jenkins.ci.plugins.saferestart.RestartDrainManagementLink
-
Hidden when Jenkins cannot restart itself, and when the "wait for running builds" option is on because the regular "Restart Safely" entry leads to the same page then.
- getIconFileName() - Method in class org.jenkins.ci.plugins.saferestart.SafeRestartManagementLink
- getIconFileName() - Method in class org.jenkins.ci.plugins.saferestart.SafeRestartRootAction
- getMessage() - Method in class org.jenkins.ci.plugins.saferestart.RestartDrain
- getRecurrencePeriod() - Method in class org.jenkins.ci.plugins.saferestart.RestartDrainPeriodicWork
- getRunningBuilds() - Method in class org.jenkins.ci.plugins.saferestart.RestartDrain
-
Builds that are still running.
- getRunningCount() - Method in class org.jenkins.ci.plugins.saferestart.RestartDrainAdministrativeMonitor
- getSince() - Method in class org.jenkins.ci.plugins.saferestart.RestartDrain
- getSinceAgo() - Method in class org.jenkins.ci.plugins.saferestart.RestartDrainAction
- getStartedBy() - Method in class org.jenkins.ci.plugins.saferestart.RestartDrain
- getUrlName() - Method in class org.jenkins.ci.plugins.saferestart.RestartDrainAction
- getUrlName() - Method in class org.jenkins.ci.plugins.saferestart.RestartDrainManagementLink
-
ManagementLink URLs are resolved against the Jenkins root, so no context path and no leading slash.
- getUrlName() - Method in class org.jenkins.ci.plugins.saferestart.SafeRestartManagementLink
-
ManagementLink URLs are resolved against the Jenkins root, unlike
Constants.RESTART_URLused by the root action, so no context path and no leading slash. - getUrlName() - Method in class org.jenkins.ci.plugins.saferestart.SafeRestartRootAction
H
- hasAdministerPermission() - Static method in class org.jenkins.ci.plugins.saferestart.JenkinsUtils
I
- ICON - Static variable in class org.jenkins.ci.plugins.saferestart.Constants
-
Icon.
- ID - Static variable in class org.jenkins.ci.plugins.saferestart.Constants
-
Plugin ID.
- isActivated() - Method in class org.jenkins.ci.plugins.saferestart.RestartDrainAdministrativeMonitor
- isActive() - Method in class org.jenkins.ci.plugins.saferestart.RestartDrain
- isWaitForRunningBuilds() - Method in class org.jenkins.ci.plugins.saferestart.SafeRestartConfiguration
J
- JenkinsUtils - Class in org.jenkins.ci.plugins.saferestart
-
Some reusable Jenkins oriented utilities.
- JenkinsUtils() - Constructor for class org.jenkins.ci.plugins.saferestart.JenkinsUtils
M
- Messages - Class in org.jenkins.ci.plugins.saferestart
-
Generated localization support class.
- Messages() - Constructor for class org.jenkins.ci.plugins.saferestart.Messages
O
- onFinalized(Run<?, ?>) - Method in class org.jenkins.ci.plugins.saferestart.RestartDrainRunListener
- org.jenkins.ci.plugins.saferestart - package org.jenkins.ci.plugins.saferestart
R
- RESTART_URL - Static variable in class org.jenkins.ci.plugins.saferestart.Constants
-
Restart URL.
- RestartDrain - Class in org.jenkins.ci.plugins.saferestart
-
Drain mode: block new top-level builds, let running builds finish, then trigger a safe restart.
- RestartDrain() - Constructor for class org.jenkins.ci.plugins.saferestart.RestartDrain
- RestartDrain_blocked() - Static method in class org.jenkins.ci.plugins.saferestart.Messages
-
Key
RestartDrain.blocked:Jenkins will restart once running builds finish. - RestartDrainAction - Class in org.jenkins.ci.plugins.saferestart
-
Page and side-panel link for
RestartDrain: start or cancel the drain and see which builds still hold the restart. - RestartDrainAction() - Constructor for class org.jenkins.ci.plugins.saferestart.RestartDrainAction
- RestartDrainAction_cannotRestart() - Static method in class org.jenkins.ci.plugins.saferestart.Messages
-
Key
RestartDrainAction.cannotRestart:Jenkins cannot restart itself on this platform.. - RestartDrainAction_displayName() - Static method in class org.jenkins.ci.plugins.saferestart.Messages
-
Key
RestartDrainAction.displayName:Restart After Builds Finish. - RestartDrainAdministrativeMonitor - Class in org.jenkins.ci.plugins.saferestart
-
Tells administrators that a restart is pending while
RestartDrainis active. - RestartDrainAdministrativeMonitor() - Constructor for class org.jenkins.ci.plugins.saferestart.RestartDrainAdministrativeMonitor
- RestartDrainAdministrativeMonitor_displayName() - Static method in class org.jenkins.ci.plugins.saferestart.Messages
-
Key
RestartDrainAdministrativeMonitor.displayName:Safe restart pending. - RestartDrainManagementLink - Class in org.jenkins.ci.plugins.saferestart
-
Manage Jenkins entry for
RestartDrainAction. - RestartDrainManagementLink() - Constructor for class org.jenkins.ci.plugins.saferestart.RestartDrainManagementLink
- RestartDrainManagementLink_description() - Static method in class org.jenkins.ci.plugins.saferestart.Messages
-
Key
RestartDrainManagementLink.description:Hold back new builds, let running builds finish all their stages (Pipelines included), then restart.. - RestartDrainManagementLink_displayName() - Static method in class org.jenkins.ci.plugins.saferestart.Messages
-
Key
RestartDrainManagementLink.displayName:Restart After Builds Finish. - RestartDrainPeriodicWork - Class in org.jenkins.ci.plugins.saferestart
-
Periodic safety net for
RestartDrain. - RestartDrainPeriodicWork() - Constructor for class org.jenkins.ci.plugins.saferestart.RestartDrainPeriodicWork
- RestartDrainQueueTaskDispatcher - Class in org.jenkins.ci.plugins.saferestart
-
Holds back new top-level builds while
RestartDrainis active. - RestartDrainQueueTaskDispatcher() - Constructor for class org.jenkins.ci.plugins.saferestart.RestartDrainQueueTaskDispatcher
- RestartDrainRunListener - Class in org.jenkins.ci.plugins.saferestart
-
Re-checks the drain whenever a build finishes, so the restart follows the last build promptly.
- RestartDrainRunListener() - Constructor for class org.jenkins.ci.plugins.saferestart.RestartDrainRunListener
S
- SafeRestartConfiguration - Class in org.jenkins.ci.plugins.saferestart
-
Global settings of the plugin, shown under Manage Jenkins, System.
- SafeRestartConfiguration() - Constructor for class org.jenkins.ci.plugins.saferestart.SafeRestartConfiguration
- SafeRestartConfiguration_displayName() - Static method in class org.jenkins.ci.plugins.saferestart.Messages
-
Key
SafeRestartConfiguration.displayName:Safe Restart. - SafeRestartManagementLink - Class in org.jenkins.ci.plugins.saferestart
-
ManagementLink for SafeRestart.
- SafeRestartManagementLink() - Constructor for class org.jenkins.ci.plugins.saferestart.SafeRestartManagementLink
- SafeRestartManagementLink_description() - Static method in class org.jenkins.ci.plugins.saferestart.Messages
-
Key
SafeRestartManagementLink.description:Restart once no jobs are running.. - SafeRestartManagementLink_descriptionDrain() - Static method in class org.jenkins.ci.plugins.saferestart.Messages
-
Key
SafeRestartManagementLink.descriptionDrain:Restart once all running builds, including Pipelines, have finished.. - SafeRestartManagementLink_displayName() - Static method in class org.jenkins.ci.plugins.saferestart.Messages
-
Key
SafeRestartManagementLink.displayName:Restart Safely. - SafeRestartRootAction - Class in org.jenkins.ci.plugins.saferestart
-
Action for SafeRestart.
- SafeRestartRootAction() - Constructor for class org.jenkins.ci.plugins.saferestart.SafeRestartRootAction
- SafeRestartRootAction_displayName() - Static method in class org.jenkins.ci.plugins.saferestart.Messages
-
Key
SafeRestartRootAction.displayName:Restart Safely. - setWaitForRunningBuilds(boolean) - Method in class org.jenkins.ci.plugins.saferestart.SafeRestartConfiguration
- start(String) - Method in class org.jenkins.ci.plugins.saferestart.RestartDrain
-
Starts holding back new builds.
_
- _RestartDrain_blocked() - Static method in class org.jenkins.ci.plugins.saferestart.Messages
-
Key
RestartDrain.blocked:Jenkins will restart once running builds finish. - _RestartDrainAction_cannotRestart() - Static method in class org.jenkins.ci.plugins.saferestart.Messages
-
Key
RestartDrainAction.cannotRestart:Jenkins cannot restart itself on this platform.. - _RestartDrainAction_displayName() - Static method in class org.jenkins.ci.plugins.saferestart.Messages
-
Key
RestartDrainAction.displayName:Restart After Builds Finish. - _RestartDrainAdministrativeMonitor_displayName() - Static method in class org.jenkins.ci.plugins.saferestart.Messages
-
Key
RestartDrainAdministrativeMonitor.displayName:Safe restart pending. - _RestartDrainManagementLink_description() - Static method in class org.jenkins.ci.plugins.saferestart.Messages
-
Key
RestartDrainManagementLink.description:Hold back new builds, let running builds finish all their stages (Pipelines included), then restart.. - _RestartDrainManagementLink_displayName() - Static method in class org.jenkins.ci.plugins.saferestart.Messages
-
Key
RestartDrainManagementLink.displayName:Restart After Builds Finish. - _SafeRestartConfiguration_displayName() - Static method in class org.jenkins.ci.plugins.saferestart.Messages
-
Key
SafeRestartConfiguration.displayName:Safe Restart. - _SafeRestartManagementLink_description() - Static method in class org.jenkins.ci.plugins.saferestart.Messages
-
Key
SafeRestartManagementLink.description:Restart once no jobs are running.. - _SafeRestartManagementLink_descriptionDrain() - Static method in class org.jenkins.ci.plugins.saferestart.Messages
-
Key
SafeRestartManagementLink.descriptionDrain:Restart once all running builds, including Pipelines, have finished.. - _SafeRestartManagementLink_displayName() - Static method in class org.jenkins.ci.plugins.saferestart.Messages
-
Key
SafeRestartManagementLink.displayName:Restart Safely. - _SafeRestartRootAction_displayName() - Static method in class org.jenkins.ci.plugins.saferestart.Messages
-
Key
SafeRestartRootAction.displayName:Restart Safely.
All Classes and Interfaces|All Packages|Constant Field Values