Class InputAction
java.lang.Object
org.jenkinsci.plugins.workflow.support.steps.input.InputAction
- All Implemented Interfaces:
Action
,ModelObject
,RunAction2
Records the pending inputs required.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(InputStepExecution step) getDynamic
(String token) Bind steps just by their ID names.getExecution
(String id) Run<?,
?> getRun()
boolean
void
onAttached
(Run<?, ?> r) void
void
remove
(InputStepExecution exec) Called whenInputStepExecution
is completed to remove it from the active input list.
-
Constructor Details
-
InputAction
public InputAction()
-
-
Method Details
-
onAttached
- Specified by:
onAttached
in interfaceRunAction2
-
onLoad
- Specified by:
onLoad
in interfaceRunAction2
-
getRun
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
-
add
public void add(@NonNull InputStepExecution step) throws IOException, InterruptedException, TimeoutException -
getExecution
- Throws:
InterruptedException
TimeoutException
-
getExecutions
@Exported public List<InputStepExecution> getExecutions() throws InterruptedException, TimeoutException- Throws:
InterruptedException
TimeoutException
-
isWaitingForInput
- Throws:
InterruptedException
TimeoutException
-
remove
public void remove(InputStepExecution exec) throws IOException, InterruptedException, TimeoutException Called whenInputStepExecution
is completed to remove it from the active input list. -
getDynamic
Bind steps just by their ID names.- Throws:
InterruptedException
TimeoutException
-