|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Callback
This callback interface has methods to handle the data sections for stdout, stderr and stdin.
| Field Summary | |
|---|---|
static String |
VERSION
The version of the API. |
| Method Summary | |
|---|---|
void |
cbInputFile(String filename,
StatInfo info)
Callback function for when stat information for an input file is encountered |
void |
cbInvocationEnd()
Callback signalling that an invocation record has been parsed. |
void |
cbInvocationStart(String job,
String resource)
Callback for the starting of an invocation record. |
void |
cbOutputFile(String filename,
StatInfo info)
Callback function for when stat information for an output file is encountered |
void |
cbStdERR(List jobs,
String data)
Callback function for the data section of stderr. |
void |
cbStdIN(List jobs,
String data)
Callback function for the data section of stdin. |
void |
cbStdOut(List jobs,
String data)
Callback function for the data section of stdout. |
void |
done()
Callback signalling that we are done with the parsing of the files. |
Object |
getConstructedObject()
Returns the object constructed. |
void |
initialize(String directory,
boolean useStatInfo)
Initializes the callback. |
| Field Detail |
|---|
static final String VERSION
| Method Detail |
|---|
void initialize(String directory,
boolean useStatInfo)
directory - the directory where all the files reside.useStatInfo - boolean indicating whether to use stat info or not.
void cbInvocationStart(String job,
String resource)
job - the job/file being parsed.resource - the site id where the job was executed.
void cbStdIN(List jobs,
String data)
jobs - all the jobs specified in the kickstart record.data - the data contents as String.
void cbStdOut(List jobs,
String data)
jobs - all the jobs specified in the kickstart record.data - the data contents as String.
void cbStdERR(List jobs,
String data)
jobs - all the jobs specified in the kickstart record.data - the data contents as String.
void cbInputFile(String filename,
StatInfo info)
filename - the name of the file.info - the StatInfo about the file.
void cbOutputFile(String filename,
StatInfo info)
filename - the name of the file.info - the StatInfo about the file.void cbInvocationEnd()
void done()
Object getConstructedObject()
Object constructed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||