gs
Class ProcessTask

java.lang.Object
  extended by gs.Task
      extended by gs.ProcessTask
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
JagTask, JarTask, JavacTask, RmTask

Deprecated. Replaced by ProcessTask.

public class ProcessTask
extends Task

task to run a native process.


Nested Class Summary
 
Nested classes/interfaces inherited from class gs.Task
Task.Exception, Task.In, Task.Out
 
Field Summary
protected  String[] argv
          Deprecated. arguments for native process.
 
Fields inherited from class gs.Task
env, err, in, out
 
Constructor Summary
ProcessTask(String[] argv, Task.In in, Task.Out out, Task.Out err, Properties env)
          Deprecated.  
 
Method Summary
static void main(String[] argv)
          Deprecated. test: run command line.
 void run()
          Deprecated. execute the task (once only).
 
Methods inherited from class gs.Task
In, In, In, Out, Out
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

argv

protected String[] argv
Deprecated. 
arguments for native process. Some subclasses may have to replace this prior to run().

Constructor Detail

ProcessTask

public ProcessTask(String[] argv,
                   Task.In in,
                   Task.Out out,
                   Task.Out err,
                   Properties env)
Deprecated. 
Method Detail

run

public void run()
         throws Task.Exception
Deprecated. 
Description copied from class: Task
execute the task (once only). Any unexpected result should be reported as an Task.Exception.

Specified by:
run in interface Runnable
Specified by:
run in class Task
Throws:
Task.Exception

main

public static void main(String[] argv)
                 throws Exception
Deprecated. 
test: run command line.

Throws:
Exception