public class InputAction extends Object implements jenkins.model.RunAction2
Constructor and Description |
---|
InputAction() |
Modifier and Type | Method and Description |
---|---|
void |
add(InputStepExecution step) |
String |
getDisplayName() |
InputStepExecution |
getDynamic(String token)
Bind steps just by their ID names.
|
InputStepExecution |
getExecution(String id) |
List<InputStepExecution> |
getExecutions() |
String |
getIconFileName() |
hudson.model.Run<?,?> |
getRun() |
String |
getUrlName() |
void |
onAttached(hudson.model.Run<?,?> r) |
void |
onLoad(hudson.model.Run<?,?> r) |
void |
remove(InputStepExecution exec)
Called when
InputStepExecution is completed to remove it from the active input list. |
public void onAttached(hudson.model.Run<?,?> r)
onAttached
in interface jenkins.model.RunAction2
public void onLoad(hudson.model.Run<?,?> r)
onLoad
in interface jenkins.model.RunAction2
public hudson.model.Run<?,?> getRun()
public String getIconFileName()
getIconFileName
in interface hudson.model.Action
public String getDisplayName()
getDisplayName
in interface hudson.model.Action
getDisplayName
in interface hudson.model.ModelObject
public String getUrlName()
getUrlName
in interface hudson.model.Action
public void add(@Nonnull InputStepExecution step) throws IOException, InterruptedException, TimeoutException
public InputStepExecution getExecution(String id) throws InterruptedException, TimeoutException
InterruptedException
TimeoutException
public List<InputStepExecution> getExecutions() throws InterruptedException, TimeoutException
InterruptedException
TimeoutException
public void remove(InputStepExecution exec) throws IOException, InterruptedException, TimeoutException
InputStepExecution
is completed to remove it from the active input list.public InputStepExecution getDynamic(String token) throws InterruptedException, TimeoutException
InterruptedException
TimeoutException
Copyright © 2016–2017. All rights reserved.