org.opensha.commons.hpc.grid
Class GlobusRSL
java.lang.Object
org.opensha.commons.hpc.grid.GlobusRSL
- All Implemented Interfaces:
- Serializable, XMLSaveable
public class GlobusRSL
- extends Object
- implements XMLSaveable, Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JOB_TYPE_NAME
public static final String JOB_TYPE_NAME
- See Also:
- Constant Field Values
MAX_WALL_TIME_NAME
public static final String MAX_WALL_TIME_NAME
- See Also:
- Constant Field Values
QUEUE_NAME
public static final String QUEUE_NAME
- See Also:
- Constant Field Values
SINGLE_JOB_TYPE
public static final String SINGLE_JOB_TYPE
- See Also:
- Constant Field Values
XML_METADATA_NAME
public static final String XML_METADATA_NAME
- See Also:
- Constant Field Values
GlobusRSL
public GlobusRSL(String jobType,
int maxWallTime)
addPair
public void addPair(String name,
String value)
setQueue
public void setQueue(String queueName)
getQueue
public String getQueue()
getJobType
public String getJobType()
getMaxWallTime
public int getMaxWallTime()
setMaxWallTime
public void setMaxWallTime(int wallTime)
getValue
public String getValue(String name)
getRSLString
public String getRSLString()
toXMLMetadata
public Element toXMLMetadata(Element root)
- Specified by:
toXMLMetadata in interface XMLSaveable
fromXMLMetadata
public static GlobusRSL fromXMLMetadata(Element rslElem)