Class SmartRetryGlobalConfiguration
java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
io.jenkins.plugins.smart_retry.config.SmartRetryGlobalConfiguration
- All Implemented Interfaces:
ExtensionPoint,Describable<GlobalConfiguration>,Saveable,Loadable,OnMaster
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconfigure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject json) doCheckConsoleContextLines(String value) doCheckDefaultProfile(String value) doCheckInitialDelaySeconds(String value) doCheckMaxRetries(String value) get()intintintgetProfileSettings(String profileName) resolveStepSettings(String requestedProfile, Integer maxRetriesOverride, String backoffOverride, Integer initialDelaySecondsOverride) voidsetBackoff(String backoff) voidsetConsoleContextLines(int consoleContextLines) voidsetCustomClassificationRules(List<CustomClassificationRule> customClassificationRules) voidsetCustomProfiles(List<CustomProfileSettings> customProfiles) voidsetDefaultProfile(String defaultProfile) voidsetDisabledBuiltInRules(String disabledBuiltInRules) voidsetInitialDelaySeconds(int initialDelaySeconds) voidsetMaxRetries(int maxRetries) Methods inherited from class jenkins.model.GlobalConfiguration
all, configure, getDescriptor, getGlobalConfigPageMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, 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, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
SmartRetryGlobalConfiguration
public SmartRetryGlobalConfiguration()
-
-
Method Details
-
get
-
getDefaultProfile
-
setDefaultProfile
-
getConsoleContextLines
public int getConsoleContextLines() -
setConsoleContextLines
@DataBoundSetter public void setConsoleContextLines(int consoleContextLines) -
getMaxRetries
public int getMaxRetries() -
setMaxRetries
@DataBoundSetter public void setMaxRetries(int maxRetries) -
getBackoff
-
setBackoff
-
getInitialDelaySeconds
public int getInitialDelaySeconds() -
setInitialDelaySeconds
@DataBoundSetter public void setInitialDelaySeconds(int initialDelaySeconds) -
getCustomProfiles
-
setCustomProfiles
@DataBoundSetter public void setCustomProfiles(@CheckForNull List<CustomProfileSettings> customProfiles) -
getProfileSettings
-
resolveStepSettings
public RuntimeSettings resolveStepSettings(@CheckForNull String requestedProfile, @CheckForNull Integer maxRetriesOverride, @CheckForNull String backoffOverride, @CheckForNull Integer initialDelaySecondsOverride) -
getDisabledBuiltInRules
-
getDisabledBuiltInRuleIds
-
setDisabledBuiltInRules
-
getCustomClassificationRules
-
setCustomClassificationRules
@DataBoundSetter public void setCustomClassificationRules(@CheckForNull List<CustomClassificationRule> customClassificationRules) -
configure
@POST public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject json) throws Descriptor.FormException - Overrides:
configurein classGlobalConfiguration- Throws:
Descriptor.FormException
-
doFillDefaultProfileItems
-
doFillBackoffItems
-
doCheckDefaultProfile
-
doCheckDisabledBuiltInRules
-
doCheckCustomClassificationRules
-
doCheckConsoleContextLines
-
doCheckMaxRetries
-
doCheckInitialDelaySeconds
-