public class PipelineWaitingAction extends Object implements RunAction2, Serializable
 Executions could be put into parallel blocks, so have to handle this. Also Jenkins could shut down while waiting.
 A lot of this is modeled off of InputAction
 
| Constructor and Description | 
|---|
PipelineWaitingAction()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
add(PipelineStepStateExecution step)
Add the step to the list of executions, for later reloading. 
 | 
String | 
getDisplayName()  | 
PipelineStepStateExecution | 
getDynamic(String id)
Used by the UI for iterating over the executions and displaying. 
 | 
PipelineStepStateExecution | 
getExecution(String id)
Returns the execution based on the id. 
 | 
List<PipelineStepStateExecution> | 
getExecutions()
Lists all the stored executions. 
 | 
String | 
getIconFileName()  | 
Run<?,?> | 
getRun()  | 
String | 
getUrlName()  | 
void | 
onAttached(Run<?,?> run)  | 
void | 
onLoad(Run<?,?> run)  | 
void | 
remove(PipelineStepStateExecution step)
Remove the specified step from the list of known executions. 
 | 
public String getIconFileName()
getIconFileName in interface Actionpublic String getDisplayName()
getDisplayName in interface ActiongetDisplayName in interface ModelObjectpublic String getUrlName()
getUrlName in interface Actionpublic Run<?,?> getRun()
public void onAttached(Run<?,?> run)
onAttached in interface RunAction2public void onLoad(Run<?,?> run)
onLoad in interface RunAction2public void add(@Nonnull PipelineStepStateExecution step) throws IOException, InterruptedException, TimeoutException
@CheckForNull public PipelineStepStateExecution getExecution(@Nonnull String id) throws InterruptedException, TimeoutException
InterruptedExceptionTimeoutException@Nonnull public List<PipelineStepStateExecution> getExecutions() throws InterruptedException, TimeoutException
InterruptedExceptionTimeoutExceptionpublic void remove(@Nonnull PipelineStepStateExecution step) throws IOException, InterruptedException, TimeoutException
public PipelineStepStateExecution getDynamic(String id) throws InterruptedException, TimeoutException
InterruptedExceptionTimeoutExceptionCopyright © 2020–2021 Adobe Inc. All rights reserved.