|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.sdsc.inca.depot.persistent.PersistentObject edu.sdsc.inca.depot.persistent.RunInfo
public class RunInfo
Represents host-specific execution information derived from a Report.
Field Summary |
---|
Fields inherited from class edu.sdsc.inca.depot.persistent.PersistentObject |
---|
DB_EMPTY_STRING, logger, MAX_DB_LONG_STRING_LENGTH, MAX_DB_STRING_LENGTH |
Constructor Summary | |
---|---|
RunInfo()
Default constructor. |
|
RunInfo(java.lang.String hostname,
java.lang.String workingDir,
java.lang.String reporterPath)
Full constructor. |
Method Summary | |
---|---|
RunInfo |
fromBean(edu.sdsc.inca.dataModel.util.Report r)
Copies information from an Inca schema XmlBean Report object so that this object contains equivalent information. |
PersistentObject |
fromBean(org.apache.xmlbeans.XmlObject o)
Copies information from an Inca schema XmlBean Report object so that this object contains equivalent information. |
ArgSignature |
getArgSignature()
Get the signature for the set of Args associated with this RunInfo. |
java.lang.String |
getHostname()
Get the RunInfo hostname. |
java.lang.Long |
getId()
Retrieve the id -- null if not yet connected to database. |
java.lang.String |
getReporterPath()
Get the RunInfo reporter relative path. |
java.lang.String |
getWorkingDir()
Get the RunInfo working directory. |
void |
setArgSignature(ArgSignature sig)
Set the signature for the set of Args associated with this RunInfo. |
void |
setHostname(java.lang.String hostname)
Set the RunInfo hostname. |
protected void |
setId(java.lang.Long id)
Set the id. |
void |
setReporterPath(java.lang.String reporterPath)
Set the RunInfo reporter relative. |
void |
setWorkingDir(java.lang.String workingDir)
Set the RunInfo working directory. |
org.apache.xmlbeans.XmlObject |
toBean()
Returns a Inca schema XmlBean object that contains information equivalent to this object. |
java.lang.String |
toXml()
Returns XML that represents the information in this object. |
Methods inherited from class edu.sdsc.inca.depot.persistent.PersistentObject |
---|
truncate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RunInfo()
public RunInfo(java.lang.String hostname, java.lang.String workingDir, java.lang.String reporterPath)
Method Detail |
---|
public PersistentObject fromBean(org.apache.xmlbeans.XmlObject o)
fromBean
in class PersistentObject
o
- the XmlBean Report object to copy
public RunInfo fromBean(edu.sdsc.inca.dataModel.util.Report r)
r
- the XmlBean Report object to copy
public java.lang.Long getId()
protected void setId(java.lang.Long id)
id
- The DB ID.public java.lang.String getHostname()
public void setHostname(java.lang.String hostname)
hostname
- the RunInfo hostnamepublic java.lang.String getWorkingDir()
public void setWorkingDir(java.lang.String workingDir)
workingDir
- the RunInfo working directorypublic java.lang.String getReporterPath()
public void setReporterPath(java.lang.String reporterPath)
reporterPath
- the RunInfo reporter relative pathpublic ArgSignature getArgSignature()
public void setArgSignature(ArgSignature sig)
sig
- the Series arg signaturepublic org.apache.xmlbeans.XmlObject toBean()
toBean
in class PersistentObject
public java.lang.String toXml()
toXml
in class PersistentObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |