@Extension @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public static class Jenkins.EnforceSlaveAgentPortAdministrativeMonitor extends AdministrativeMonitor
ExtensionPoint.LegacyInstancesAreScopedToHudson
id
Constructor and Description |
---|
EnforceSlaveAgentPortAdministrativeMonitor() |
Modifier and Type | Method and Description |
---|---|
void |
doAct(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
String |
getDisplayName() |
int |
getExpectedPort() |
String |
getSystemPropertyName() |
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 EnforceSlaveAgentPortAdministrativeMonitor()
public String getDisplayName()
getDisplayName
in interface ModelObject
getDisplayName
in class AdministrativeMonitor
public String getSystemPropertyName()
public int getExpectedPort()
public void doAct(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
IOException
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.