Class ProcessBuilderGroup
java.lang.Object
org.aksw.shellgebra.processbuilder.ProcessBuilderCore<ProcessBuilderGroup>
org.aksw.shellgebra.processbuilder.ProcessBuilderCompound<ProcessBuilderGroup>
org.aksw.shellgebra.processbuilder.ProcessBuilderGroup
- All Implemented Interfaces:
Cloneable, IProcessBuilderCore<ProcessBuilderGroup>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether the configured command will read from stdin.protected ProcessBuilderGroupstatic ProcessBuilderGroupof(List<? extends IProcessBuilderCore<?>> processBuilders) static ProcessBuilderGroupof(IProcessBuilderCore<?>... processBuilders) start(ProcessRunner executor) booleanWhether the process builder can read from anonymous pipes.booleanWhether the process builder can write to an anonymous pipe.booleanGroups only support direct named pipes if there is only a single member that accepts a direct named pipe.Methods inherited from class ProcessBuilderCompound
clone, copyProcessBuilders, processBuilders, processBuilders, processBuildersMethods inherited from class ProcessBuilderCore
applySettings, directory, directory, environment, redirectError, redirectError, redirectErrorStream, redirectErrorStream, redirectInput, redirectInput, redirectOutput, redirectOutput, self
-
Constructor Details
-
ProcessBuilderGroup
public ProcessBuilderGroup()
-
-
Method Details
-
of
-
of
-
cloneActual
- Specified by:
cloneActualin classProcessBuilderCore<ProcessBuilderGroup>
-
start
- Throws:
IOException
-
supportsAnonPipeRead
public boolean supportsAnonPipeRead()Description copied from interface:IProcessBuilderCoreWhether the process builder can read from anonymous pipes. Docker containers can only bind-mount named pipes but not anonymous pipes. When building pipelines, this flag is used to avoid needless intermediate anon pipes where named ones can be used directly. For pipelines, this is the value of the first process builder. -
supportsAnonPipeWrite
public boolean supportsAnonPipeWrite()Description copied from interface:IProcessBuilderCoreWhether the process builder can write to an anonymous pipe. Docker containers can only bind-mount named pipes but not anonymous pipes. When building pipelines, this flag is used to avoid needless intermediate anon pipes where named ones can be used directly. For pipelines, this is the value of the last process builder. -
supportsDirectNamedPipe
public boolean supportsDirectNamedPipe()Groups only support direct named pipes if there is only a single member that accepts a direct named pipe. -
accessesStdIn
public boolean accessesStdIn()Description copied from interface:IProcessBuilderCoreWhether the configured command will read from stdin. Used to avoid generation of needless named or anon pipes such as in "echo foo | echo bar": where the second link does not read the data from the prior link.
-