Class ScheduleBuildAction

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

public class ScheduleBuildAction extends Object implements Action, 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
    • 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()
    • getBadge

      public Badge getBadge()
    • doCancelBuild

      @POST public void doCancelBuild(@QueryParameter String id, org.kohsuke.stapler.StaplerResponse2 rsp)
    • doBuild

      @POST public void doBuild(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp)
    • hasPlannedBuilds

      public boolean hasPlannedBuilds()
    • getPlannedBuilds

      public List<ScheduledRun> getPlannedBuilds()
    • isParameterized

      public boolean isParameterized()
    • getParameterDefinitions

      public List<ParameterDefinition> getParameterDefinitions()
    • getDateTimeFormatting

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

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