java.lang.Object
io.xpipe.core.process.ShellTypes.Cmd
- All Implemented Interfaces:
ShellType
- Enclosing class:
ShellTypes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateFileReadCommand(String file) createFileWriteCommand(String file) createInitFileContent(String command) createMkdirsCommand(String dirs) createWhichCommand(String executable) determineCharset(ShellProcessControl control) booleanvoidelevate(ShellProcessControl control, String command, String displayCommand) escapeStringValue(String input) getEchoCommand(String s, boolean toErrorStream) getName()getPrintVariableCommand(String prefix, String name) getSetVariableCommand(String variableName, String value) queryShellProcessId(ShellProcessControl control) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.xpipe.core.process.ShellType
commandWithVariable, flatten, getExitCommand, getOrConcatenationOperator, getPrintVariableCommand, joinCommands
-
Constructor Details
-
Cmd
public Cmd()
-
-
Method Details
-
getSetVariableCommand
- Specified by:
getSetVariableCommandin interfaceShellType
-
getPrintVariableCommand
- Specified by:
getPrintVariableCommandin interfaceShellType
-
getEchoCommand
- Specified by:
getEchoCommandin interfaceShellType
-
getScriptEchoCommand
- Specified by:
getScriptEchoCommandin interfaceShellType
-
queryShellProcessId
- Specified by:
queryShellProcessIdin interfaceShellType- Throws:
IOException
-
getConcatenationOperator
- Specified by:
getConcatenationOperatorin interfaceShellType
-
getMakeExecutableCommand
- Specified by:
getMakeExecutableCommandin interfaceShellType
-
getTerminalFileOpenCommand
- Specified by:
getTerminalFileOpenCommandin interfaceShellType
-
escapeStringValue
-
getScriptFileEnding
- Specified by:
getScriptFileEndingin interfaceShellType
-
getPauseCommand
- Specified by:
getPauseCommandin interfaceShellType
-
createInitFileContent
- Specified by:
createInitFileContentin interfaceShellType
-
elevate
public void elevate(ShellProcessControl control, String command, String displayCommand) throws Exception -
getExitCodeVariable
- Specified by:
getExitCodeVariablein interfaceShellType
-
getNewLine
- Specified by:
getNewLinein interfaceShellType
-
getNormalOpenCommand
- Specified by:
getNormalOpenCommandin interfaceShellType
-
executeCommandWithShell
- Specified by:
executeCommandWithShellin interfaceShellType
-
executeCommandListWithShell
- Specified by:
executeCommandListWithShellin interfaceShellType
-
createMkdirsCommand
- Specified by:
createMkdirsCommandin interfaceShellType
-
createFileReadCommand
- Specified by:
createFileReadCommandin interfaceShellType
-
createFileWriteCommand
- Specified by:
createFileWriteCommandin interfaceShellType
-
createFileDeleteCommand
- Specified by:
createFileDeleteCommandin interfaceShellType
-
createFileExistsCommand
- Specified by:
createFileExistsCommandin interfaceShellType
-
createWhichCommand
- Specified by:
createWhichCommandin interfaceShellType
-
determineCharset
- Specified by:
determineCharsetin interfaceShellType- Throws:
Exception
-
getName
-
getDisplayName
- Specified by:
getDisplayNamein interfaceShellType
-
getExecutable
- Specified by:
getExecutablein interfaceShellType
-
echoesInput
public boolean echoesInput()- Specified by:
echoesInputin interfaceShellType
-