|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.griphyn.vdl.Chimera
org.griphyn.vdl.invocation.Invocation
org.griphyn.vdl.invocation.Arguments
public abstract class Arguments
This class maintains the application that was run, and the arguments to the commandline that were actually passed on to the application.
Job,
Serialized Form| Field Summary | |
|---|---|
protected String |
m_executable
This is the executable that was run. |
| Constructor Summary | |
|---|---|
Arguments()
Default c'tor: Construct a hollow shell and allow further information to be added later. |
|
Arguments(String executable)
Constructs an applications without arguments. |
|
| Method Summary | |
|---|---|
String |
getExecutable()
Accessor |
abstract String |
getValue()
This abstract method is called by higher-level functions to obtain a single string representation of the arguments. |
void |
setExecutable(String executable)
Accessor. |
void |
toString(Writer stream)
Converts the active state into something meant for human consumption. |
| Methods inherited from class org.griphyn.vdl.Chimera |
|---|
escape, quote, toString, toXML, toXML, toXML, writeAttribute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String m_executable
| Constructor Detail |
|---|
public Arguments()
public Arguments(String executable)
executable - is the name of the application.| Method Detail |
|---|
public abstract String getValue()
null
if there is no such string. The empty string is also possible.public String getExecutable()
setExecutable(String)public void setExecutable(String executable)
executable - getExecutable()
public void toString(Writer stream)
throws IOException
toString in class Chimerastream - is a stream opened and ready for writing. This can also
be a string stream for efficient output.
IOException - if something fishy happens to the stream.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||