Class ScheduleBuildGlobalConfiguration
java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
org.jenkinsci.plugins.schedulebuild.ScheduleBuildGlobalConfiguration
- All Implemented Interfaces:
ExtensionPoint
,Describable<GlobalConfiguration>
,Saveable
,Loadable
,OnMaster
@Extension
@Symbol("scheduleBuild")
public class ScheduleBuildGlobalConfiguration
extends GlobalConfiguration
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondoCheckDefaultStartTime
(String value) doCheckTimeZone
(String value) Returns a ZonedDateTime object on the current date in the configured timezone.void
load()
void
setDefaultScheduleTime
(String defaultScheduleTime) void
setDefaultStartTime
(String defaultStartTime) void
setTimeZone
(String timeZone) Methods inherited from class jenkins.model.GlobalConfiguration
all, configure, configure, getDescriptor, getGlobalConfigPage
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
ScheduleBuildGlobalConfiguration
@DataBoundConstructor public ScheduleBuildGlobalConfiguration()
-
-
Method Details
-
load
public void load()- Specified by:
load
in interfaceLoadable
- Overrides:
load
in classDescriptor<GlobalConfiguration>
-
getDefaultScheduleTime
-
getDefaultStartTime
-
setDefaultStartTime
-
setDefaultScheduleTime
@DataBoundSetter public void setDefaultScheduleTime(String defaultScheduleTime) throws ParseException - Throws:
ParseException
-
getTimeZone
-
setTimeZone
-
getZoneId
-
getDefaultScheduleTimeObject
Returns a ZonedDateTime object on the current date in the configured timezone.- Returns:
- scheduletime
-
doCheckDefaultStartTime
-
doCheckTimeZone
-
doFillTimeZoneItems
-