@Extension @Symbol(value="defaultFolderConfiguration") public class AbstractFolderConfiguration extends GlobalConfiguration
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
ExtensionPoint.LegacyInstancesAreScopedToHudson
clazz
Constructor and Description |
---|
AbstractFolderConfiguration() |
Modifier and Type | Method and Description |
---|---|
static void |
autoConfigure()
Auto-configure the default metrics after all plugins have been loaded.
|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
static AbstractFolderConfiguration |
get() |
List<FolderHealthMetric> |
getHealthMetrics() |
void |
setHealthMetrics(List<FolderHealthMetric> healthMetrics) |
all, getDescriptor, getGlobalConfigPage
addHelpFileRedirect, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
@DataBoundConstructor public AbstractFolderConfiguration()
@Nonnull public static AbstractFolderConfiguration get()
@Initializer(after=EXTENSIONS_AUGMENTED, before=JOB_LOADED) public static void autoConfigure()
@Nonnull public List<FolderHealthMetric> getHealthMetrics()
@DataBoundSetter public void setHealthMetrics(List<FolderHealthMetric> healthMetrics)
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
configure
in class GlobalConfiguration
Copyright © 2016–2020. All rights reserved.