org.znerd.util.proc
Class AntCommandRunner

java.lang.Object
  extended by 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)
           
 
Method Summary
 CommandRunResult runCommand(File workingDirectory, String command, String... arguments)
           
 CommandRunResult runCommand(String command, String... arguments)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AntCommandRunner

public AntCommandRunner(org.apache.tools.ant.Project antProject,
                        long commandTimeOut)
Method Detail

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.