org.apache.geronimo.testsupport.commands
Class CommandTestSupport
java.lang.Object
org.apache.geronimo.testsupport.commands.CommandTestSupport
public class CommandTestSupport
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GSH
public static final String GSH
- See Also:
- Constant Field Values
DEPLOY
public static final String DEPLOY
- See Also:
- Constant Field Values
timeout
protected static final long timeout
- See Also:
- Constant Field Values
geronimoHome
protected static String geronimoHome
CommandTestSupport
public CommandTestSupport()
execute
public void execute(String command,
String[] args,
InputStream in,
OutputStream out)
throws Exception
- Throws:
Exception
execute
public void execute(String command,
List<String> args,
InputStream in,
OutputStream out)
throws Exception
- Throws:
Exception
getCommandArguments
protected List<String> getCommandArguments(String command)
getCommandEnvironment
protected List<String> getCommandEnvironment(String command)
resolveCommandForOS
protected String resolveCommandForOS(String command)
isWindows
public boolean isWindows()
Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.