mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-04 15:45:52 +00:00
Add configuration for disabling admin monitors
Add display name for all admin monitors in core.
This commit is contained in:
1 parent
08def67a18
commit
0fc375e9e4
24 files changed
+206
-1
No files matched your search
@@ -1950,6 +1950,11 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
|
||||
@Extension @Symbol("pluginCycleDependencies")
|
||||
public static final class PluginCycleDependenciesMonitor extends AdministrativeMonitor {
|
||||
|
||||
@Override
|
||||
public String getDisplayName() {
|
||||
return Messages.PluginManager_PluginCycleDependenciesMonitor_DisplayName();
|
||||
}
|
||||
|
||||
private transient volatile boolean isActive = false;
|
||||
|
||||
private transient volatile List<PluginWrapper> pluginsWithCycle;
|
||||
@@ -2009,6 +2014,11 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
|
||||
return !pluginsToBeUpdated.isEmpty();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getDisplayName() {
|
||||
return Messages.PluginManager_PluginUpdateMonitor_DisplayName();
|
||||
}
|
||||
|
||||
/**
|
||||
* adds a message about a plugin to the manage screen
|
||||
* @param pluginName the plugins name
|
||||
|
||||
Reference in new issue
Block a user