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 boolean
configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject o)
String
getCronSpec()
CronTabList
getCronTab()
String
getDisplayName()
int
getExpirationDays()
int
getExpirationStyle()
String
getHelpFile(String fieldName)
boolean
isApplicable(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:
getHelpFile
in classDescriptor<JobProperty<?>>
-
isApplicable
public boolean isApplicable(Class<? extends Job> jobType)
- Overrides:
isApplicable
in classJobPropertyDescriptor
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<JobProperty<?>>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject o) throws Descriptor.FormException
- Overrides:
configure
in classDescriptor<JobProperty<?>>
- Throws:
Descriptor.FormException
-
newInstance
public JobProperty<?> newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
- Overrides:
newInstance
in classJobPropertyDescriptor
- Throws:
Descriptor.FormException
-
getCronSpec
public String getCronSpec()
-
getExpirationDays
public int getExpirationDays()
-
getExpirationStyle
public int getExpirationStyle()
-
getCronTab
public CronTabList getCronTab() throws ANTLRException
- Throws:
ANTLRException
-
-