Class ScriptService
java.lang.Object
io.kestra.plugin.scripts.exec.scripts.services.ScriptService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringreplaceInternalStorage(io.kestra.core.runners.RunContext runContext, String command) uploadInputFiles(io.kestra.core.runners.RunContext runContext, List<String> commands) uploadOutputFiles(io.kestra.core.runners.RunContext runContext, Path outputDir)
-
Constructor Details
-
ScriptService
public ScriptService()
-
-
Method Details
-
replaceInternalStorage
public static String replaceInternalStorage(io.kestra.core.runners.RunContext runContext, String command) throws IOException - Throws:
IOException
-
uploadInputFiles
public static List<String> uploadInputFiles(io.kestra.core.runners.RunContext runContext, List<String> commands) throws IOException - Throws:
IOException
-
uploadOutputFiles
public static Map<String,URI> uploadOutputFiles(io.kestra.core.runners.RunContext runContext, Path outputDir) throws IOException - Throws:
IOException
-
scriptCommands
-
scriptCommands
-