| java.lang.Object org.griphyn.cPlanner.code.gridstart.UserPOSTScript
UserPOSTScript | public class UserPOSTScript implements POSTScript(Code) | | A user defined post script. By default, the postscript is given the name
of the job output file on the submit host, to work upon. Additional arguments
to the post script can be specified via properties or profiles.
The postscript is only constructed if the job already contains the
Dagman profile key passed.
author: Karan Vahi vahi@isi.edu version: $Revision: 50 $ |
SHORT_NAME | final public static String SHORT_NAME(Code) | | The SHORTNAME for this implementation.
|
mLogger | protected LogManager mLogger(Code) | | The LogManager object which is used to log all the messages.
|
mPOSTScriptPath | protected String mPOSTScriptPath(Code) | | The path to the user postscript on the submit host.
|
UserPOSTScript | public UserPOSTScript()(Code) | | The default constructor.
|
construct | public boolean construct(SubInfo job, String key)(Code) | | Constructs the postscript that has to be invoked on the submit host
after the job has executed on the remote end. The postscript works on the
stdout of the remote job, that has been transferred back to the submit
host by Condor.
The postscript is constructed and populated as a profile
in the DAGMAN namespace.
Parameters: job - the SubInfo object containing the job descriptionof the job that has to be enabled on the grid. Parameters: key - the DAGMan profile key that has to be inserted. boolean true if postscript was generated,else false. |
getExitCodePath | public String getExitCodePath()(Code) | | Returns the path to exitcode that is to be used on the kickstart
output.
the path to the exitcode script to be invoked. |
initialize | public void initialize(PegasusProperties properties, String path, String submitDir)(Code) | | Initialize the POSTScript implementation.
Parameters: properties - the PegasusProperties object containing allthe properties required by Pegasus. Parameters: path - the path to the POSTScript on the submit host. Parameters: submitDir - the submit directory where the submit file for the jobhas to be generated. throws: RuntimeException - in case of path being null. |
shortDescribe | public String shortDescribe()(Code) | | Returns a short textual description of the implementing class.
short textual description. |
|
|