@Extension @Symbol(value="agent-maintenance") public class MaintenanceConfiguration extends GlobalConfiguration
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfExtensionPoint.LegacyInstancesAreScopedToHudsonclazz| Constructor and Description |
|---|
MaintenanceConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.kohsuke.stapler.HttpResponse |
doInject(org.kohsuke.stapler.StaplerResponse rsp)
Called when UI button to inject strategy to all agents is pressed.
|
org.kohsuke.stapler.HttpResponse |
doRemove(org.kohsuke.stapler.StaplerResponse rsp)
Called when UI button to remove strategy from all agents is pressed.
|
static MaintenanceConfiguration |
getInstance() |
boolean |
isInjectRetentionStrategy() |
void |
setInjectRetentionStrategy(boolean injectRetentionStrategy) |
all, configure, getDescriptor, getGlobalConfigPageaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic void setInjectRetentionStrategy(boolean injectRetentionStrategy)
public boolean isInjectRetentionStrategy()
public static MaintenanceConfiguration getInstance()
@POST public org.kohsuke.stapler.HttpResponse doInject(org.kohsuke.stapler.StaplerResponse rsp)
rsp - Stapler Response@POST public org.kohsuke.stapler.HttpResponse doRemove(org.kohsuke.stapler.StaplerResponse rsp)
rsp - Stapler ResponseCopyright © 2016–2022. All rights reserved.