@Extension @Symbol(value="apiTokenLegacyAutoGeneration") @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public class ApiTokenPropertyDisabledDefaultAdministrativeMonitor extends AdministrativeMonitor
ExtensionPoint.LegacyInstancesAreScopedToHudson
id
Constructor and Description |
---|
ApiTokenPropertyDisabledDefaultAdministrativeMonitor() |
Modifier and Type | Method and Description |
---|---|
org.kohsuke.stapler.HttpResponse |
doAct(String no) |
String |
getDisplayName() |
boolean |
isActivated()
Returns true if this monitor is activated and
wants to produce a warning message.
|
boolean |
isSecurity()
Returns true if this monitor is security related.
|
all, disable, doDisable, getRequiredPermission, getSearchUrl, getTarget, getUrl, isEnabled
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
public ApiTokenPropertyDisabledDefaultAdministrativeMonitor()
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
public boolean isSecurity()
AdministrativeMonitor
isSecurity
in class AdministrativeMonitor
public org.kohsuke.stapler.HttpResponse doAct(@QueryParameter String no) throws IOException
IOException
Copyright © 2004–2021. All rights reserved.