java.lang.Object
io.xpipe.core.process.ProcessControlProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract CommandControlcommand(ShellControl parent, @NonNull FailableFunction<ShellControl, String, Exception> command, FailableFunction<ShellControl, String, Exception> terminalCommand) static CommandControlcreateCommand(ShellControl parent, @NonNull FailableFunction<ShellControl, String, Exception> command, FailableFunction<ShellControl, String, Exception> terminalCommand) static ShellControlcreateLocal(boolean stoppable) abstract ShellControlcreateLocalProcessControl(boolean stoppable) static ShellControlabstract ShellControlcreateSshControl(Object sshStore) static ShellControlcreateSub(ShellControl parent, @NonNull FailableFunction<ShellControl, String, Exception> commandFunction, FailableBiFunction<ShellControl, String, String, Exception> terminalCommand) static voidinit(ModuleLayer layer) abstract ShellControlsub(ShellControl parent, @NonNull FailableFunction<ShellControl, String, Exception> commandFunction, FailableBiFunction<ShellControl, String, String, Exception> terminalCommand)
-
Constructor Details
-
ProcessControlProvider
public ProcessControlProvider()
-
-
Method Details
-
init
-
createLocal
-
createSub
public static ShellControl createSub(ShellControl parent, @NonNull @NonNull FailableFunction<ShellControl, String, Exception> commandFunction, FailableBiFunction<ShellControl, String, String, Exception> terminalCommand) -
createCommand
public static CommandControl createCommand(ShellControl parent, @NonNull @NonNull FailableFunction<ShellControl, String, Exception> command, FailableFunction<ShellControl, String, Exception> terminalCommand) -
createSsh
-
sub
public abstract ShellControl sub(ShellControl parent, @NonNull @NonNull FailableFunction<ShellControl, String, Exception> commandFunction, FailableBiFunction<ShellControl, String, String, Exception> terminalCommand) -
command
public abstract CommandControl command(ShellControl parent, @NonNull @NonNull FailableFunction<ShellControl, String, Exception> command, FailableFunction<ShellControl, String, Exception> terminalCommand) -
createLocalProcessControl
-
createSshControl
-