-
- All Implemented Interfaces:
-
eu.jrie.jetbrains.kotlinshell.processes.execution.ExecutionContext,eu.jrie.jetbrains.kotlinshell.processes.execution.ProcessExecutionContext,eu.jrie.jetbrains.kotlinshell.shell.ShellBase,eu.jrie.jetbrains.kotlinshell.shell.ShellUtility
@ExperimentalCoroutinesApi() public interface ShellPipingTo implements ShellUtility
-
-
Method Summary
Modifier and Type Method Description Pipelinepipe(Pipeline $self, SendChannel<ByteReadPacket> channel)Ends this Pipeline with channel Part of piping DSL Pipelinepipe(Pipeline $self, BytePacketBuilder packetBuilder)Ends this Pipeline with packetBuilder Part of piping DSL Pipelinepipe(Pipeline $self, OutputStream stream)Ends this Pipeline with stream Part of piping DSL Pipelinepipe(Pipeline $self, File file)Ends this Pipeline with file Part of piping DSL Pipelinepipe(Pipeline $self, StringBuilder stringBuilder)Ends this Pipeline with stringBuilder Part of piping DSL PipelinepipeAppend(Pipeline $self, File file)Ends this Pipeline with file by appending to it Part of piping DSL SuspendFunction1<ExecutionContext, Unit>getEnv()SuspendFunction1<ExecutionContext, Unit>getSet()Map<String, String>getShellEnv()Map<String, String>getSystemEnv()abstract CoroutineScopegetScope()CoroutineScope used by this shell, its members and sub shells abstract Map<String, String>getEnvironment()Environment of this shell. abstract Map<String, String>getVariables()Variables of this shell. abstract FilegetDirectory()Current directory of this shell abstract ProcessCommandergetCommander()abstract ReceiveChannel<ByteReadPacket>getStdin()abstract SendChannel<ByteReadPacket>getStdout()abstract SendChannel<ByteReadPacket>getStderr()-
Methods inherited from class eu.jrie.jetbrains.kotlinshell.shell.piping.ShellPipingTo
cd, cd, cd, cd, cd, env, export, export, file, file, mkdir, unset, variable, variable -
Methods inherited from class eu.jrie.jetbrains.kotlinshell.shell.ShellUtility
closeOut, command, finalize, invoke -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
pipe
@ExperimentalCoroutinesApi() Pipeline pipe(Pipeline $self, SendChannel<ByteReadPacket> channel)
-
pipe
@ExperimentalCoroutinesApi() Pipeline pipe(Pipeline $self, BytePacketBuilder packetBuilder)
Ends this Pipeline with packetBuilder Part of piping DSL
-
pipe
@ExperimentalCoroutinesApi() Pipeline pipe(Pipeline $self, OutputStream stream)
-
pipe
@ExperimentalCoroutinesApi() Pipeline pipe(Pipeline $self, StringBuilder stringBuilder)
Ends this Pipeline with stringBuilder Part of piping DSL
-
pipeAppend
@ExperimentalCoroutinesApi() Pipeline pipeAppend(Pipeline $self, File file)
-
getEnv
SuspendFunction1<ExecutionContext, Unit> getEnv()
-
getSet
SuspendFunction1<ExecutionContext, Unit> getSet()
-
getShellEnv
Map<String, String> getShellEnv()
-
getSystemEnv
Map<String, String> getSystemEnv()
-
getScope
abstract CoroutineScope getScope()
CoroutineScope used by this shell, its members and sub shells
-
getEnvironment
abstract Map<String, String> getEnvironment()
Environment of this shell. These variables are being inherited to sub shells.
-
getVariables
abstract Map<String, String> getVariables()
Variables of this shell. These variables are not being inherited to sub shells.
-
getDirectory
abstract File getDirectory()
Current directory of this shell
-
getCommander
abstract ProcessCommander getCommander()
-
getStdin
abstract ReceiveChannel<ByteReadPacket> getStdin()
-
getStdout
abstract SendChannel<ByteReadPacket> getStdout()
-
getStderr
abstract SendChannel<ByteReadPacket> getStderr()
-
-
-
-