@Extension
public class PipelineConfigHistoryGlobalConfiguration
extends jenkins.model.GlobalConfiguration
| Constructor and Description |
|---|
PipelineConfigHistoryGlobalConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest request,
net.sf.json.JSONObject formData) |
hudson.util.FormValidation |
doCheckMaxDaysToKeepEntries(String value)
Validates the user entry for the maximum number of days to keep history
items.
|
hudson.util.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 jenkins.model.GlobalConfigurationpublic String getMaxHistoryEntries()
public String getMaxDaysToKeepEntries()
public hudson.util.FormValidation doCheckMaxHistoryEntries(@QueryParameter
String value)
value - The form input entered by the user.public hudson.util.FormValidation doCheckMaxDaysToKeepEntries(@QueryParameter
String value)
value - The form input entered by the user.Copyright © 2016–2020. All rights reserved.