|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.griphyn.vdl.Chimera
edu.isi.pegasus.planner.invocation.Invocation
edu.isi.pegasus.planner.invocation.MachineInfo
edu.isi.pegasus.planner.invocation.Uname
public class Uname
The uname element.
| Field Summary | |
|---|---|
static String |
ARCHMODE_ATTRIBUTE_KEY
The archmode attribute for the uname |
static String |
ELEMENT_NAME
The element name |
static String |
MACHINE_ATTRIBUTE_KEY
The release attribute for the uname |
private StringBuffer |
mValue
The text value |
static String |
NODENAME_ATTRIBUTE_KEY
The nodename attribute for the uname |
static String |
RELEASE_ATTRIBUTE_KEY
The release attribute for the uname |
static String |
SYSTEM_ATTRIBUTE_KEY
The system attribute for the uname |
static String |
UNDEFINED_ARCHMODE_VALUE
The undefined value for archmode attribute. |
| Fields inherited from class edu.isi.pegasus.planner.invocation.MachineInfo |
|---|
mAttributeMap |
| Constructor Summary | |
|---|---|
Uname()
The default constructor |
|
Uname(String value)
Constructs a piece of data. |
|
| Method Summary | |
|---|---|
void |
appendValue(String fragment)
Appends a piece of text to the existing text. |
String |
getElementName()
Returns the name of the xml element corresponding to the object. |
String |
getValue()
Accessor |
void |
setValue(String value)
Accessor. |
Architecture |
toArchitecture()
An adapter method to convert the uname object to the architecture object. |
static Architecture |
unameToArchitecture(Uname uname)
An adapter method to convert the uname object to the architecture object. |
| Methods inherited from class edu.isi.pegasus.planner.invocation.MachineInfo |
|---|
addAttribute, addAttributes, get, getAttributeKeysIterator, toString, toXML |
| Methods inherited from class org.griphyn.vdl.Chimera |
|---|
escape, quote, toString, toXML, toXML, writeAttribute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String ELEMENT_NAME
public static final String SYSTEM_ATTRIBUTE_KEY
public static final String NODENAME_ATTRIBUTE_KEY
public static final String RELEASE_ATTRIBUTE_KEY
public static final String MACHINE_ATTRIBUTE_KEY
public static final String ARCHMODE_ATTRIBUTE_KEY
public static final String UNDEFINED_ARCHMODE_VALUE
private StringBuffer mValue
| Constructor Detail |
|---|
public Uname()
public Uname(String value)
value - is the data to remember. The string may be empty,
but it must not be null.
NullPointerException - if the argument was null.| Method Detail |
|---|
public static Architecture unameToArchitecture(Uname uname)
uname - the object to be converted
Architecture objectpublic String getElementName()
getElementName in class MachineInfopublic void appendValue(String fragment)
appendValue in interface HasTextfragment - is a piece of text to append to existing text.
Appending null is a noop.public String getValue()
getValue in interface HasTextsetValue(String)public void setValue(String value)
setValue in interface HasTextvalue - is the new value to set.getValue()public Architecture toArchitecture()
Architecture object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||