edu.isi.pegasus.planner.invocation
Class Boot

java.lang.Object
  extended by org.griphyn.vdl.Chimera
      extended by edu.isi.pegasus.planner.invocation.Invocation
          extended by edu.isi.pegasus.planner.invocation.MachineInfo
              extended by edu.isi.pegasus.planner.invocation.Boot
All Implemented Interfaces:
HasText, Serializable

public class Boot
extends MachineInfo
implements HasText

The boot element.

Version:
$Revision: 2587 $
Author:
Karan Vahi
See Also:
Serialized Form

Field Summary
static String ELEMENT_NAME
          The element name
private  StringBuffer mValue
          The text value
 
Fields inherited from class edu.isi.pegasus.planner.invocation.MachineInfo
mAttributeMap
 
Constructor Summary
Boot()
          The default constructor
Boot(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.
 
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

mValue

private StringBuffer mValue
The text value


ELEMENT_NAME

public static final String ELEMENT_NAME
The element name

See Also:
Constant Field Values
Constructor Detail

Boot

public Boot()
The default constructor


Boot

public Boot(String value)
Constructs a piece of data.

Parameters:
value - is the data to remember. The string may be empty, but it must not be null.
Throws:
NullPointerException - if the argument was null.
Method Detail

getElementName

public String getElementName()
Returns the name of the xml element corresponding to the object.

Specified by:
getElementName in class MachineInfo
Returns:
name

appendValue

public void appendValue(String fragment)
Appends a piece of text to the existing text.

Specified by:
appendValue in interface HasText
Parameters:
fragment - is a piece of text to append to existing text. Appending null is a noop.

getValue

public String getValue()
Accessor

Specified by:
getValue in interface HasText
See Also:
setValue(String)

setValue

public void setValue(String value)
Accessor.

Specified by:
setValue in interface HasText
Parameters:
value - is the new value to set.
See Also:
getValue()


Copyright © 2011 The University of Southern California. All Rights Reserved.