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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(InputStepExecution step) getDynamic(String token) Bind steps just by their ID names.getExecution(String id) Run<?,?> getRun()booleanvoidonAttached(Run<?, ?> r) voidvoidremove(InputStepExecution exec) Called whenInputStepExecutionis completed to remove it from the active input list.
-
Constructor Details
-
InputAction
public InputAction()
-
-
Method Details
-
onAttached
- Specified by:
onAttachedin interfaceRunAction2
-
onLoad
- Specified by:
onLoadin interfaceRunAction2
-
getRun
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
- Specified by:
getUrlNamein interfaceAction
-
add
public void add(@NonNull InputStepExecution step) throws IOException, InterruptedException, TimeoutException -
getExecution
- Throws:
InterruptedExceptionTimeoutException
-
getExecutions
@Exported public List<InputStepExecution> getExecutions() throws InterruptedException, TimeoutException- Throws:
InterruptedExceptionTimeoutException
-
isWaitingForInput
- Throws:
InterruptedExceptionTimeoutException
-
remove
public void remove(InputStepExecution exec) throws IOException, InterruptedException, TimeoutException Called whenInputStepExecutionis completed to remove it from the active input list. -
getDynamic
Bind steps just by their ID names.- Throws:
InterruptedExceptionTimeoutException
-