Class RestartDeclarativePipelineAction
java.lang.Object
org.jenkinsci.plugins.pipeline.modeldefinition.actions.RestartDeclarativePipelineAction
- All Implemented Interfaces:
Action
,ModelObject
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondoCheckStageName
(String value) void
doRestart
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) org.kohsuke.stapler.HttpResponse
doRestartPipeline
(String stageName) getApi()
getOwner()
boolean
-
Method Details
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
-
getOwner
-
isRestartEnabled
@Exported public boolean isRestartEnabled() -
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
-
getCheckUrl
-
doCheckStageName
-
run
-