Class RunAPI
java.lang.Object
jenkins.model.TransientActionFactory<T>
com.cloudbees.workflow.rest.AbstractAPIActionHandler<org.jenkinsci.plugins.workflow.job.WorkflowRun>
com.cloudbees.workflow.rest.AbstractWorkflowRunActionHandler
com.cloudbees.workflow.rest.endpoints.RunAPI
- All Implemented Interfaces:
ExtensionPoint,Action,ModelObject
API Action handler to return a single WorkflowJob run.
Bound to ${{rootURL}/job/<jobname>/<runId>/wfapi/*}
- Author:
- tom.fennelly@gmail.com
-
Nested Class Summary
Nested classes/interfaces inherited from class jenkins.model.TransientActionFactory
TransientActionFactory.CacheNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class com.cloudbees.workflow.rest.AbstractAPIActionHandler
target, URL_BASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoDescribe(boolean fullStages) doIndex()voiddoInputSubmit(String inputId) static StringgetArtifactsUrl(org.jenkinsci.plugins.workflow.job.WorkflowRun run) static StringgetArtifactUrl(org.jenkinsci.plugins.workflow.job.WorkflowRun run, Run<org.jenkinsci.plugins.workflow.job.WorkflowJob, org.jenkinsci.plugins.workflow.job.WorkflowRun>.Artifact artifact) static StringgetChangeSetsUrl(org.jenkinsci.plugins.workflow.job.WorkflowRun run) static StringgetDescribeUrl(org.jenkinsci.plugins.workflow.job.WorkflowRun run) static StringgetInputStepSubmitUrl(org.jenkinsci.plugins.workflow.job.WorkflowRun run, String inputId) static StringgetNextPendingInputActionUrl(org.jenkinsci.plugins.workflow.job.WorkflowRun run) static StringgetPendingInputActionsUrl(org.jenkinsci.plugins.workflow.job.WorkflowRun run) static StringgetUrl(org.jenkinsci.plugins.workflow.job.WorkflowRun run) Methods inherited from class com.cloudbees.workflow.rest.AbstractWorkflowRunActionHandler
createFor, getRun, typeMethods inherited from class com.cloudbees.workflow.rest.AbstractAPIActionHandler
getDisplayName, getIconFileName, getUrlNameMethods inherited from class jenkins.model.TransientActionFactory
actionType, factoriesFor
-
Constructor Details
-
RunAPI
public RunAPI()
-
-
Method Details
-
getUrl
-
getDescribeUrl
-
getChangeSetsUrl
-
getPendingInputActionsUrl
-
getNextPendingInputActionUrl
public static String getNextPendingInputActionUrl(org.jenkinsci.plugins.workflow.job.WorkflowRun run) -
getArtifactsUrl
-
getInputStepSubmitUrl
-
getArtifactUrl
-
doIndex
-
doDescribe
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public RunExt doDescribe(@QueryParameter boolean fullStages) - Parameters:
fullStages- Return the stageNodes within each stage
-
doChangesets
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public List<ChangeSetExt> doChangesets() -
doPendingInputActions
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public List<PendingInputActionsExt> doPendingInputActions() -
doNextPendingInputAction
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public PendingInputActionsExt doNextPendingInputAction() -
doArtifacts
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public List<BuildArtifactExt> doArtifacts() -
doInputSubmit
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public void doInputSubmit(@QueryParameter String inputId) throws jakarta.servlet.ServletException - Throws:
jakarta.servlet.ServletException
-