Class SimpleCommand
java.lang.Object
org.variantsync.diffdetective.shell.ShellCommand
org.variantsync.diffdetective.shell.SimpleCommand
Single executable command with arguments.
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class org.variantsync.diffdetective.shell.ShellCommand
interpretResult, toString
-
Field Details
-
parts
-
-
Constructor Details
-
SimpleCommand
Constructs a single command. The first argument has to be a path to an executable which will be given all of the remaining arguments as parameters on execution.- Parameters:
cmd
- executable path and arguments for the executable
-
-
Method Details
-
parts
Description copied from class:ShellCommand
Returns the String parts that define and configure the command execution. The first array entry is a path to an executable file. The others are arguments for that executable.Example: ["echo", "Hello World"]
- Specified by:
parts
in classShellCommand
- Returns:
- the parts of the shell command.
-