@Extension
@Symbol(value="buildTimestamp")
public static final class BuildTimestampWrapper.DescriptorImpl
extends hudson.tasks.BuildWrapperDescriptor
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
hudson.util.FormValidation |
doCheckKey(String key) |
hudson.util.FormValidation |
doCheckPattern(String patternParam,
String timezoneParam) |
hudson.util.FormValidation |
doCheckShiftExpression(String shiftExpression) |
hudson.util.FormValidation |
doCheckValue(String value) |
hudson.util.ComboBoxModel |
doFillTimezoneItems() |
String |
getDisplayName()
This human readable name is used in the configuration screen.
|
Set<BuildTimestampExtraProperty> |
getExtraProperties() |
String |
getPattern() |
String |
getTimezone() |
boolean |
isApplicable(hudson.model.AbstractProject<?,?> abstractProject) |
boolean |
isEnableBuildTimestamp() |
void |
setEnableBuildTimestamp(boolean enableBuildTimestamp) |
void |
setExtraProperties(Set<BuildTimestampExtraProperty> extraProperties) |
void |
setPattern(String pattern) |
void |
setTimezone(String timezone) |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, 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 boolean isApplicable(hudson.model.AbstractProject<?,?> abstractProject)
isApplicable
in class hudson.tasks.BuildWrapperDescriptor
public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<hudson.tasks.BuildWrapper>
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
public hudson.util.FormValidation doCheckPattern(@QueryParameter(value="pattern") String patternParam, @QueryParameter(value="timezone") String timezoneParam)
public hudson.util.FormValidation doCheckKey(@QueryParameter(value="key") String key)
public hudson.util.FormValidation doCheckValue(@QueryParameter(value="value") String value)
public hudson.util.FormValidation doCheckShiftExpression(@QueryParameter(value="shiftExpression") String shiftExpression)
public hudson.util.ComboBoxModel doFillTimezoneItems()
public boolean isEnableBuildTimestamp()
@DataBoundSetter public void setEnableBuildTimestamp(boolean enableBuildTimestamp)
public String getPattern()
@DataBoundSetter public void setPattern(String pattern)
public String getTimezone()
@DataBoundSetter public void setTimezone(String timezone)
public Set<BuildTimestampExtraProperty> getExtraProperties()
@DataBoundSetter public void setExtraProperties(Set<BuildTimestampExtraProperty> extraProperties)
Copyright © 2004-2018. All Rights Reserved.