|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.taskdefs.ExecuteJava
Constructor Summary | |
ExecuteJava()
|
Method Summary | |
void |
execute(Project project)
|
boolean |
killedProcess()
|
void |
run()
|
void |
setClasspath(Path p)
Set the classpath to be used when running the Java class |
void |
setJavaCommand(Commandline javaCommand)
|
void |
setOutput(java.io.PrintStream out)
Deprecated. manage output at the task level |
void |
setPermissions(Permissions permissions)
Permissions for the application run. |
void |
setSystemProperties(CommandlineJava.SysProperties s)
|
void |
setTimeout(java.lang.Long timeout)
|
void |
timeoutOccured(Watchdog w)
Called when the watchdow times out. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ExecuteJava()
Method Detail |
public void setJavaCommand(Commandline javaCommand)
public void setClasspath(Path p)
p
- an Ant Path object containing the classpath.public void setSystemProperties(CommandlineJava.SysProperties s)
public void setPermissions(Permissions permissions)
permissions
- public void setOutput(java.io.PrintStream out)
public void setTimeout(java.lang.Long timeout)
public void execute(Project project) throws BuildException
BuildException
public void run()
run
in interface java.lang.Runnable
public void timeoutOccured(Watchdog w)
TimeoutObserver
timeoutOccured
in interface TimeoutObserver
w
- the watchdog that timed out.public boolean killedProcess()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |