wcs
Class JayTask

java.lang.Object
  extended by wcs.Task
      extended by wcs.ProcessTask
          extended by wcs.JayTask
All Implemented Interfaces:
Runnable

public class JayTask
extends ProcessTask

task to run jay.


Nested Class Summary
 
Nested classes/interfaces inherited from class wcs.Task
Task.Exception, Task.In, Task.Out
 
Field Summary
protected  File tmpDir
          root of workarea for yacc.
 
Fields inherited from class wcs.ProcessTask
argv
 
Fields inherited from class wcs.Task
env, err, in, out
 
Constructor Summary
JayTask(File tmpDir, Task.In in, boolean verbose, boolean trace, File source, Task.Out out, Task.Out err, Properties env)
          required properties: jay parser generator
 
Method Summary
 void run()
          create a Process in the working directory and set TMPDIR in the environment.
 
Methods inherited from class wcs.ProcessTask
main, run
 
Methods inherited from class wcs.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

tmpDir

protected final File tmpDir
root of workarea for yacc.* and y.output.

Constructor Detail

JayTask

public JayTask(File tmpDir,
               Task.In in,
               boolean verbose,
               boolean trace,
               File source,
               Task.Out out,
               Task.Out err,
               Properties env)
        throws IOException
required properties:
jay parser generator

Parameters:
in - skeleton.
verbose - if true, generate tmpDir/y.output.
trace - if true, activate trace code.
Throws:
IOException
Method Detail

run

public void run()
         throws Task.Exception
create a Process in the working directory and set TMPDIR in the environment.

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