Class SysRuntimeDocker
java.lang.Object
org.aksw.shellgebra.exec.SysRuntimeDocker
- All Implemented Interfaces:
AutoCloseable, SysRuntime
-
Constructor Summary
ConstructorsConstructorDescriptionSysRuntimeDocker(SysRuntimeCoreDocker core, Argv locatorCommand, Argv existsCommand) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()String[]compileCommand(CmdOp op) compileString(CmdOp op) voidcreateNamedPipe(Path path) Not supported.protected StringbooleanquoteFileArgument(String fileName) Quote a filename for use as an argument.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SysRuntime
resolveCommand
-
Constructor Details
-
SysRuntimeDocker
-
-
Method Details
-
which
- Specified by:
whichin interfaceSysRuntime- Throws:
IOExceptionInterruptedException
-
exists
- Specified by:
existsin interfaceSysRuntime- Throws:
IOExceptionInterruptedException
-
execCmd
protected String execCmd(String... argv) throws UnsupportedOperationException, IOException, InterruptedException -
quoteFileArgument
Description copied from interface:SysRuntimeQuote a filename for use as an argument.- Specified by:
quoteFileArgumentin interfaceSysRuntime
-
compileString
- Specified by:
compileStringin interfaceSysRuntime
-
compileCommand
- Specified by:
compileCommandin interfaceSysRuntime
-
getStrOps
- Specified by:
getStrOpsin interfaceSysRuntime
-
createNamedPipe
Not supported. This method may need to be made container aware - i.e. distinguish between host and container path.- Specified by:
createNamedPipein interfaceSysRuntime- Throws:
IOException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSysRuntime
-