java.lang.Object
io.xpipe.core.process.ShellInitCommand.Simple
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.xpipe.core.process.ShellInitCommand
ShellInitCommand.Simple, ShellInitCommand.Terminal -
Constructor Summary
ConstructorsConstructorDescriptionSimple(@NonNull String content, ShellDialect dialect, boolean dumb, boolean terminal) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanPotentiallyRunInDialect(ShellDialect dialect) voidrunDumb(ShellControl shellControl) booleanbooleanterminalContent(ShellControl shellControl)
-
Constructor Details
-
Simple
public Simple(@NonNull @NonNull String content, ShellDialect dialect, boolean dumb, boolean terminal)
-
-
Method Details
-
runDumb
- Specified by:
runDumbin interfaceShellInitCommand- Throws:
Exception
-
terminalContent
- Specified by:
terminalContentin interfaceShellInitCommand
-
runInDumb
public boolean runInDumb()- Specified by:
runInDumbin interfaceShellInitCommand
-
canPotentiallyRunInDialect
- Specified by:
canPotentiallyRunInDialectin interfaceShellInitCommand
-
runInTerminal
public boolean runInTerminal()- Specified by:
runInTerminalin interfaceShellInitCommand
-