|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.visualize.KickstartParser
public class KickstartParser
A helper class that parses the kickstart records and has calls to callbacks for working on data sections of standard out, standard error, and standard input.
| Field Summary | |
|---|---|
private Callback |
mCallback
The callback object. |
private InvocationParser |
mInvocationParser
Semi-singleton, dynamically instantiated once for the lifetime. |
private LogManager |
mLogger
The handle to the logging object. |
private org.griphyn.vdl.directive.ParseKickstart |
mParseKickstart
The parser class that is used to parse a kickstart record and return the invocation record. |
| Constructor Summary | |
|---|---|
KickstartParser()
The default constructor. |
|
| Method Summary | |
|---|---|
protected String |
getJobName(String outName)
Returns the name of the job from the kickstart output filename. |
List |
parseKickstartFile(String file)
|
void |
setCallback(Callback c)
Sets the callback to which to callout to while parsing a kickstart record. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private org.griphyn.vdl.directive.ParseKickstart mParseKickstart
private LogManager mLogger
private Callback mCallback
private InvocationParser mInvocationParser
| Constructor Detail |
|---|
public KickstartParser()
| Method Detail |
|---|
public void setCallback(Callback c)
c - the Callback to call out to.
public List parseKickstartFile(String file)
throws IOException
IOExceptionprotected String getJobName(String outName)
outName - the name of the out file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||