public class AntTaskRunner extends Object implements Runnable
History:
Date: June 19, 2007 Time: 3:17 PM Author: Terry Norbraten, NPS MOVES Comments: Initial Date: April 10, 2008 Time: 0000Z Author: Terry Norbraten, NPS MOVES Comments: Bug fix 1669
Constructor and Description |
---|
AntTaskRunner() |
AntTaskRunner(Container container,
JTextArea sta)
Default constructor
|
AntTaskRunner(String[] args)
Creates a new instance of AntTaskRunner
|
Modifier and Type | Method and Description |
---|---|
void |
appendStatus(String s,
boolean flush)
Show status output of ant task
|
void |
buildMainArguments() |
String[] |
getUserPassword() |
static void |
main(String[] args) |
void |
run()
Execute the ant task
|
void |
setIsCancelled(boolean cnx)
Cancel task flag
|
void |
setTaskname(String arg)
Add an argument to the basic ant task command line
|
public AntTaskRunner()
public AntTaskRunner(Container container, JTextArea sta)
container
- the parent Frame of this runnersta
- the JTextArea to output our Ant task resultspublic AntTaskRunner(String[] args)
args
- the command line arguments (if any)public String[] getUserPassword()
public void buildMainArguments()
public void setTaskname(String arg)
arg
- the name of the ant taskpublic void setIsCancelled(boolean cnx)
cnx
- boolean flagpublic void appendStatus(String s, boolean flush)
s
- the string to display in the JTextArea (status)flush
- clear output buffer if truepublic static void main(String[] args)
args
- the command line arguments (if any)