| java.lang.Object org.griphyn.vdl.directive.Directive org.griphyn.vdl.directive.Derive
Derive | public class Derive extends Directive (Code) | | This class makes concrete plans for a DAX, when planning using the
shell planner.
author: Jens-S. Vöckler author: Yong Zhao version: $Revision: 50 $ See Also: org.griphyn.vdl.planner.Scriptor |
Constructor Summary | |
public | Derive() |
Method Summary | |
protected static int | changePermission(String dir) Helper method to change the permissions of shell scripts to be executable. | public boolean | genShellScripts(InputStream dax, String dir, boolean build, boolean register) Generates shell scripts for the workflow described by the dax. | public boolean | genShellScripts(InputStream dax, String dir, boolean build, boolean register, String kickstart_path) Generates shell scripts for the workflow described by the dax.
For each derivation, there is a shell script generated, and
there is a control script to control the execution sequence of
these shell scripts according to their dependencies.
Parameters: dax - is the InputStream for the dax representation Parameters: dir - is the directory name in which to generate these scripts Parameters: build - specifies whether to force build mode Parameters: register - specifies whether to register output files Parameters: kickstart_path - specifies the location of kickstart. |
genShellScripts | public boolean genShellScripts(InputStream dax, String dir, boolean build, boolean register) throws java.sql.SQLException, IOException, InterruptedException(Code) | | Generates shell scripts for the workflow described by the dax.
For each derivation, there is a shell script generated, and
there is a control script to control the execution sequence of
these shell scripts according to their dependencies.
Parameters: dax - is the InputStream for the dax representation Parameters: dir - is the directory name in which to generate these scripts Parameters: build - specifies whether to force build mode Parameters: register - specifies whether to register output files true if successful, false otherwise |
genShellScripts | public boolean genShellScripts(InputStream dax, String dir, boolean build, boolean register, String kickstart_path) throws java.sql.SQLException, IOException, InterruptedException(Code) | | Generates shell scripts for the workflow described by the dax.
For each derivation, there is a shell script generated, and
there is a control script to control the execution sequence of
these shell scripts according to their dependencies.
Parameters: dax - is the InputStream for the dax representation Parameters: dir - is the directory name in which to generate these scripts Parameters: build - specifies whether to force build mode Parameters: register - specifies whether to register output files Parameters: kickstart_path - specifies the location of kickstart. If null,kickstart will not be used. true if successful, false otherwise |
|
|