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
  • Constructor Details

    • ScheduleBuildGlobalConfiguration

      @DataBoundConstructor public ScheduleBuildGlobalConfiguration()
  • Method Details

    • load

      public void load()
      Specified by:
      load in interface Loadable
      Overrides:
      load in class Descriptor<GlobalConfiguration>
    • getDefaultScheduleTime

      public String getDefaultScheduleTime()
    • getDefaultStartTime

      public String getDefaultStartTime()
    • setDefaultStartTime

      @DataBoundSetter public void setDefaultStartTime(String defaultStartTime)
    • setDefaultScheduleTime

      @DataBoundSetter public void setDefaultScheduleTime(String defaultScheduleTime) throws ParseException
      Throws:
      ParseException
    • getTimeZone

      public String getTimeZone()
    • setTimeZone

      @DataBoundSetter public void setTimeZone(String timeZone)
    • getZoneId

      public ZoneId getZoneId()
    • getDefaultScheduleTimeObject

      public ZonedDateTime getDefaultScheduleTimeObject()
      Returns a ZonedDateTime object on the current date in the configured timezone.
      Returns:
      scheduletime
    • doCheckDefaultStartTime

      public FormValidation doCheckDefaultStartTime(@QueryParameter String value)
    • doCheckTimeZone

      public FormValidation doCheckTimeZone(@QueryParameter String value)
    • doFillTimeZoneItems

      @POST public ListBoxModel doFillTimeZoneItems()