@Extension public class PipelineConfigHistoryGlobalConfiguration extends GlobalConfiguration
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfExtensionPoint.LegacyInstancesAreScopedToHudsonclazz| Constructor and Description |
|---|
PipelineConfigHistoryGlobalConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest request,
net.sf.json.JSONObject formData) |
FormValidation |
doCheckMaxDaysToKeepEntries(String value)
Validates the user entry for the maximum number of days to keep history
items.
|
FormValidation |
doCheckMaxHistoryEntries(String value)
Validates the user entry for the maximum number of history items to keep.
|
static PipelineConfigHistoryGlobalConfiguration |
get() |
String |
getMaxDaysToKeepEntries() |
Optional<Integer> |
getMaxDaysToKeepEntriesOptional() |
String |
getMaxHistoryEntries() |
Optional<Integer> |
getMaxHistoryEntriesOptional() |
all, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic PipelineConfigHistoryGlobalConfiguration()
public static PipelineConfigHistoryGlobalConfiguration get()
public boolean configure(org.kohsuke.stapler.StaplerRequest request,
net.sf.json.JSONObject formData)
configure in class GlobalConfigurationpublic String getMaxHistoryEntries()
public String getMaxDaysToKeepEntries()
public FormValidation doCheckMaxHistoryEntries(@QueryParameter String value)
value - The form input entered by the user.public FormValidation doCheckMaxDaysToKeepEntries(@QueryParameter String value)
value - The form input entered by the user.Copyright © 2016–2019. All rights reserved.