Class CommandsWrapper
java.lang.Object
io.kestra.plugin.scripts.exec.scripts.runners.CommandsWrapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAdditionalVars(Map<String, Object> additionalVars) run()withCommands(List<String> commands)
-
Constructor Details
-
CommandsWrapper
public CommandsWrapper(io.kestra.core.runners.RunContext runContext)
-
-
Method Details
-
withCommands
public CommandsWrapper withCommands(List<String> commands) throws IOException, io.kestra.core.exceptions.IllegalVariableEvaluationException - Throws:
IOExceptionio.kestra.core.exceptions.IllegalVariableEvaluationException
-
withEnv
public CommandsWrapper withEnv(Map<String, String> envs) throws io.kestra.core.exceptions.IllegalVariableEvaluationException- Throws:
io.kestra.core.exceptions.IllegalVariableEvaluationException
-
addAdditionalVars
-
addEnv
-
run
- Throws:
Exception
-