Class ScheduleBuildAction

java.lang.Object
org.jenkinsci.plugins.schedulebuild.ScheduleBuildAction
All Implemented Interfaces:
Action, ModelObject, IconSpec, org.kohsuke.stapler.StaplerProxy

public class ScheduleBuildAction extends Object implements Action, org.kohsuke.stapler.StaplerProxy, IconSpec
  • Constructor Details

    • ScheduleBuildAction

      public ScheduleBuildAction(Job<?,?> target)
  • Method Details

    • getOwner

      public Job<?,?> getOwner()
    • getIconFileName

      public String getIconFileName()
      Specified by:
      getIconFileName in interface Action
    • getIconClassName

      public String getIconClassName()
      Specified by:
      getIconClassName in interface IconSpec
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface Action
      Specified by:
      getDisplayName in interface ModelObject
    • getUrlName

      public String getUrlName()
      Specified by:
      getUrlName in interface Action
    • schedule

      public boolean schedule(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) throws Descriptor.FormException
      Throws:
      Descriptor.FormException
    • getTarget

      public Object getTarget()
      Specified by:
      getTarget in interface org.kohsuke.stapler.StaplerProxy
    • getDefaultDate

      public String getDefaultDate()
    • getDefaultDateObject

      public ZonedDateTime getDefaultDateObject()
    • getMinDate

      public String getMinDate()
    • doCheckDate

      public FormValidation doCheckDate(@QueryParameter String value, @AncestorInPath Item item)
    • getQuietPeriodInSeconds

      public long getQuietPeriodInSeconds()
    • doNext

      public org.kohsuke.stapler.HttpResponse doNext(@QueryParameter String date, @AncestorInPath Item item)
    • isJobParameterized

      public boolean isJobParameterized()
    • getDateTimeFormatting

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public String getDateTimeFormatting()
    • getTimeZone

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public String getTimeZone()