org.znerd.util.proc
Class AntCommandRunner
java.lang.Object
org.znerd.util.proc.AntCommandRunner
- All Implemented Interfaces:
- CommandRunner
public class AntCommandRunner
- extends Object
- implements CommandRunner
Constructor Summary |
AntCommandRunner(org.apache.tools.ant.Project antProject,
long commandTimeOut)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AntCommandRunner
public AntCommandRunner(org.apache.tools.ant.Project antProject,
long commandTimeOut)
runCommand
public CommandRunResult runCommand(String command,
String... arguments)
- Specified by:
runCommand
in interface CommandRunner
runCommand
public CommandRunResult runCommand(File workingDirectory,
String command,
String... arguments)
- Specified by:
runCommand
in interface CommandRunner
Copyright © 2011-2012. All Rights Reserved.