hudson.plugins.timestamper
@Extension public final class TimestamperConfig extends jenkins.model.GlobalConfiguration
| Constructor and Description |
|---|
TimestamperConfig()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
String |
getElapsedTimeFormat()
Get the format for displaying the elapsed time.
|
String |
getSystemTimeFormat()
Get the format for displaying the system clock time.
|
void |
setElapsedTimeFormat(String elapsedTimeFormat)
Set the format for displaying the elapsed time.
|
void |
setSystemTimeFormat(String timestampFormat)
Set the format for displaying the system clock time.
|
all, getCategory, getDescriptor, getDisplayName, getGlobalConfigPageaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, 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, toMappublic String getSystemTimeFormat()
public void setSystemTimeFormat(@CheckForNull String timestampFormat)
timestampFormat - the system clock time format in SimpleDateFormat patternpublic String getElapsedTimeFormat()
public void setElapsedTimeFormat(@CheckForNull String elapsedTimeFormat)
elapsedTimeFormat - the elapsed time format in DurationFormatUtils patternpublic boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<jenkins.model.GlobalConfiguration>hudson.model.Descriptor.FormExceptionCopyright © 2004-2015. All Rights Reserved.