Class MavenRepoCleanerProperty.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<JobProperty<?>>
-
- hudson.model.JobPropertyDescriptor
-
- org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerProperty.DescriptorImpl
-
- Enclosing class:
- MavenRepoCleanerProperty
public static final class MavenRepoCleanerProperty.DescriptorImpl extends JobPropertyDescriptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject o)StringgetCronSpec()CronTabListgetCronTab()StringgetDisplayName()intgetExpirationDays()intgetExpirationStyle()StringgetHelpFile(String fieldName)booleanisApplicable(Class<? extends Job> jobType)JobProperty<?>newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)-
Methods inherited from class hudson.model.JobPropertyDescriptor
all, getPropertyDescriptors
-
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, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getHelpFile
public String getHelpFile(String fieldName)
- Overrides:
getHelpFilein classDescriptor<JobProperty<?>>
-
isApplicable
public boolean isApplicable(Class<? extends Job> jobType)
- Overrides:
isApplicablein classJobPropertyDescriptor
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayNamein classDescriptor<JobProperty<?>>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject o) throws Descriptor.FormException- Overrides:
configurein classDescriptor<JobProperty<?>>- Throws:
Descriptor.FormException
-
newInstance
public JobProperty<?> newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
- Overrides:
newInstancein classJobPropertyDescriptor- Throws:
Descriptor.FormException
-
getCronSpec
public String getCronSpec()
-
getExpirationDays
public int getExpirationDays()
-
getExpirationStyle
public int getExpirationStyle()
-
getCronTab
public CronTabList getCronTab() throws ANTLRException
- Throws:
ANTLRException
-
-