public static final class LogfilesizecheckerWrapper.DescriptorImpl
extends hudson.tasks.BuildWrapperDescriptor
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
int |
getCheckPeriod()
Returns the period, in seconds, between successive checks.
|
int |
getDefaultLogSize()
Returns maximum log size set in global configuration.
|
String |
getDisplayName()
Returns caption for our part of the config page.
|
boolean |
isApplicable(hudson.model.AbstractProject<?,?> item)
Certainly does something.
|
void |
setDefaultLogSize(int size)
Allows changing the global log file size - used for testing only.
|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, 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
public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<hudson.tasks.BuildWrapper>
public boolean isApplicable(hudson.model.AbstractProject<?,?> item)
isApplicable
in class hudson.tasks.BuildWrapperDescriptor
item
- Some item, I guesspublic int getDefaultLogSize()
public void setDefaultLogSize(int size)
size
- new default max log sizepublic int getCheckPeriod()
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws hudson.model.Descriptor.FormException
configure
in class hudson.model.Descriptor<hudson.tasks.BuildWrapper>
hudson.model.Descriptor.FormException
Copyright © 2016–2018. All rights reserved.