@Extension public class MonitorMarkedNodeOffline extends AdministrativeMonitor
NodeMonitor
marks the node as offline, we'll show this to the admin to get their attention.
This also allows them to disable the monitoring if they don't like it.
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Field and Description |
---|---|
boolean |
active |
id
Constructor and Description |
---|
MonitorMarkedNodeOffline() |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName() |
boolean |
isActivated()
Returns true if this monitor is activated and
wants to produce a warning message.
|
all, disable, doDisable, getRequiredPermission, getSearchUrl, getTarget, getUrl, isEnabled, isSecurity
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
public String getDisplayName()
getDisplayName
in interface ModelObject
getDisplayName
in class AdministrativeMonitor
public boolean isActivated()
AdministrativeMonitor
This method is called from the HTML rendering thread, so it should run efficiently.
isActivated
in class AdministrativeMonitor
Copyright © 2004–2021. All rights reserved.