|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.it.util.cli.shell.Shell
public class Shell
Class that abstracts the Shell functionality, with subclases for shells that behave particularly, like
command.comcmd.exe
| Constructor Summary | |
|---|---|
Shell()
|
|
| Method Summary | |
|---|---|
List |
getCommandLine(String executable,
String[] arguments)
Get the command line for the provided executable and arguments in this shell |
String[] |
getShellArgs()
Get the shell arguments |
String |
getShellCommand()
Get the command to execute the shell |
List |
getShellCommandLine(String executable,
String[] arguments)
Get the full command line to execute, including shell command, shell arguments, executable and executable arguments |
void |
setShellArgs(String[] shellArgs)
Set the shell arguments when calling a command line (not the executable arguments) (eg. |
void |
setShellCommand(String shellCommand)
Set the command to execute the shell (eg. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Shell()
| Method Detail |
|---|
public void setShellCommand(String shellCommand)
shellCommand - public String getShellCommand()
public void setShellArgs(String[] shellArgs)
shellArgs - public String[] getShellArgs()
public List getCommandLine(String executable,
String[] arguments)
executable - executable that the shell has to callarguments - arguments for the executable, not the shell
public List getShellCommandLine(String executable,
String[] arguments)
executable - executable that the shell has to callarguments - arguments for the executable, not the shell
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||