@Extension @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public class AdministrativeMonitorsDecorator extends PageDecorator
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
ExtensionPoint.LegacyInstancesAreScopedToHudson
ALL
clazz
Constructor and Description |
---|
AdministrativeMonitorsDecorator() |
Modifier and Type | Method and Description |
---|---|
Collection<AdministrativeMonitor> |
getActiveAdministrativeMonitors() |
int |
getActiveAdministrativeMonitorsCount() |
String |
getDisplayName()
Human readable name of this kind of configurable object.
|
boolean |
shouldDisplay()
Whether the administrative monitors notifier should be shown.
|
all, getDescriptor, getUrl
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public String getDisplayName()
Descriptor
Class.getSimpleName()
on Descriptor.clazz
, so for example MyThing
from some.pkg.MyThing.DescriptorImpl
.
Historically some implementations returned null as a way of hiding the descriptor from the UI,
but this is generally managed by an explicit method such as isEnabled
or isApplicable
.getDisplayName
in class Descriptor<PageDecorator>
public int getActiveAdministrativeMonitorsCount()
public Collection<AdministrativeMonitor> getActiveAdministrativeMonitors()
public boolean shouldDisplay() throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
Copyright © 2004–2017. All rights reserved.