Class BuildTimestampWrapper.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<BuildWrapper>
hudson.tasks.BuildWrapperDescriptor
com.orctom.jenkins.plugin.buildtimestamp.BuildTimestampWrapper.DescriptorImpl
- Enclosing class:
- BuildTimestampWrapper
@Extension
@Symbol("buildTimestamp")
public static final class BuildTimestampWrapper.DescriptorImpl
extends BuildWrapperDescriptor
-
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 -
Method Summary
Modifier and TypeMethodDescriptionboolean
configure
(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) doCheckKey
(String value) doCheckPattern
(String patternParam, String timezoneParam) doCheckShiftExpression
(String value) doCheckValue
(String value) This human readable name is used in the configuration screen.boolean
isApplicable
(AbstractProject<?, ?> abstractProject) boolean
void
setEnableBuildTimestamp
(boolean enableBuildTimestamp) void
setExtraProperties
(Set<BuildTimestampExtraProperty> extraProperties) void
setPattern
(String pattern) void
setTimezone
(String timezone) Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, 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
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
isApplicable
- Specified by:
isApplicable
in classBuildWrapperDescriptor
-
getDisplayName
This human readable name is used in the configuration screen.- Overrides:
getDisplayName
in classDescriptor<BuildWrapper>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
configure
in classDescriptor<BuildWrapper>
- Throws:
Descriptor.FormException
-
doCheckPattern
public FormValidation doCheckPattern(@QueryParameter("pattern") String patternParam, @QueryParameter("timezone") String timezoneParam) -
doCheckKey
-
doCheckValue
-
doCheckShiftExpression
-
doFillTimezoneItems
-
isEnableBuildTimestamp
public boolean isEnableBuildTimestamp() -
setEnableBuildTimestamp
@DataBoundSetter public void setEnableBuildTimestamp(boolean enableBuildTimestamp) -
getPattern
-
setPattern
-
getTimezone
-
setTimezone
-
getExtraProperties
-
setExtraProperties
-