| org.griphyn.cPlanner.visualize.Callback
All known Subclasses: org.griphyn.cPlanner.visualize.spaceusage.SpaceUsageCallback, org.griphyn.cPlanner.visualize.nodeusage.NodeUsageCallback,
Callback | public interface Callback (Code) | | This callback interface has methods to handle the data sections
for stdout, stderr and stdin.
author: Karan Vahi vahi@isi.edu version: $Revision: 50 $ |
Field Summary | |
final public static String | VERSION The version of the API. |
VERSION | final public static String VERSION(Code) | | The version of the API.
|
cbInputFile | public void cbInputFile(String filename, StatInfo info)(Code) | | Callback function for when stat information for an input file is
encountered
Parameters: filename - the name of the file. Parameters: info - the StatInfo about the file. |
cbInvocationEnd | public void cbInvocationEnd()(Code) | | Callback signalling that an invocation record has been parsed.
|
cbInvocationStart | public void cbInvocationStart(String job, String resource)(Code) | | Callback for the starting of an invocation record.
Parameters: job - the job/file being parsed. Parameters: resource - the site id where the job was executed. |
cbOutputFile | public void cbOutputFile(String filename, StatInfo info)(Code) | | Callback function for when stat information for an output file is
encountered
Parameters: filename - the name of the file. Parameters: info - the StatInfo about the file. |
cbStdERR | public void cbStdERR(List jobs, String data)(Code) | | Callback function for the data section of stderr. Since the jobs
( setup, prejob, main, postjob, cleanup)
do not have separate stdout etc, all are passed.
Parameters: jobs - all the jobs specified in the kickstart record. Parameters: data - the data contents as String. |
cbStdIN | public void cbStdIN(List jobs, String data)(Code) | | Callback function for the data section of stdin. Since the jobs
( setup, prejob, main, postjob, cleanup)
do not have separate stdout etc, all are passed.
Parameters: jobs - all the jobs specified in the kickstart record. Parameters: data - the data contents as String. |
cbStdOut | public void cbStdOut(List jobs, String data)(Code) | | Callback function for the data section of stdout. Since the jobs
( setup, prejob, main, postjob, cleanup)
do not have separate stdout etc, all are passed.
Parameters: jobs - all the jobs specified in the kickstart record. Parameters: data - the data contents as String. |
done | public void done()(Code) | | Callback signalling that we are done with the parsing of the files.
|
getConstructedObject | public Object getConstructedObject()(Code) | | Returns the object constructed.
the Object constructed. |
initialize | public void initialize(String directory, boolean useStatInfo)(Code) | | Initializes the callback.
Parameters: directory - the directory where all the files reside. Parameters: useStatInfo - boolean indicating whether to use stat info or not. |
|
|