Class RestartDeclarativePipelineAction

java.lang.Object
org.jenkinsci.plugins.pipeline.modeldefinition.actions.RestartDeclarativePipelineAction
All Implemented Interfaces:
Action, ModelObject

@ExportedBean public class RestartDeclarativePipelineAction extends Object implements Action
  • Method Details

    • getDisplayName

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

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

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

      public Run getOwner()
    • isRestartEnabled

      @Exported public boolean isRestartEnabled()
    • getApi

      public Api getApi()
    • doRestartPipeline

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public org.kohsuke.stapler.HttpResponse doRestartPipeline(@QueryParameter String stageName)
    • doRestart

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public void doRestart(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws javax.servlet.ServletException, IOException
      Throws:
      javax.servlet.ServletException
      IOException
    • getRestartableStages

      @Exported public List<String> getRestartableStages()
    • getCheckUrl

      public String getCheckUrl()
    • doCheckStageName

      public FormValidation doCheckStageName(@QueryParameter String value)
    • run

      public Queue.Item run(String stageName)