Class AbstractFolderConfiguration
- java.lang.Object
-
- hudson.model.Descriptor<GlobalConfiguration>
-
- jenkins.model.GlobalConfiguration
-
- com.cloudbees.hudson.plugins.folder.config.AbstractFolderConfiguration
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<GlobalConfiguration>
,Saveable
,Loadable
,OnMaster
@Extension @Symbol("defaultFolderConfiguration") public class AbstractFolderConfiguration extends GlobalConfiguration
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description AbstractFolderConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class jenkins.model.GlobalConfiguration
all, getDescriptor, getGlobalConfigPage
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, 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, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
get
@NonNull public static AbstractFolderConfiguration get()
-
autoConfigure
@Initializer(after=EXTENSIONS_AUGMENTED, before=JOB_LOADED) public static void autoConfigure()
Auto-configure the default metrics after all plugins have been loaded.
-
getHealthMetrics
@NonNull public List<FolderHealthMetric> getHealthMetrics()
-
setHealthMetrics
@DataBoundSetter public void setHealthMetrics(List<FolderHealthMetric> healthMetrics)
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
- Overrides:
configure
in classGlobalConfiguration
-
-