public class Job extends Invocation
| Modifier and Type | Field and Description |
|---|---|
private Arguments |
m_arguments
Command-line arguments.
|
private double |
m_duration
Duration of the job.
|
private StatCall |
m_executable
Stat call of the executable.
|
private int |
m_pid
Process id assigned to the job.
|
private java.util.Date |
m_start
Start time of this job.
|
private Status |
m_status
Exit condition of the job.
|
private java.lang.String |
m_tag
This is the tag to produce the job for.
|
private Usage |
m_usage
Resource usage of this job.
|
| Constructor and Description |
|---|
Job(java.lang.String tag) |
| Modifier and Type | Method and Description |
|---|---|
Arguments |
getArguments()
Accessor
|
double |
getDuration()
Accessor
|
StatCall |
getExecutable()
Accessor
|
int |
getPID()
Accessor
|
java.util.Date |
getStart()
Accessor
|
Status |
getStatus()
Accessor
|
java.lang.String |
getTag()
Accessor
|
Usage |
getUsage()
Accessor
|
void |
setArguments(Arguments arguments)
Accessor.
|
void |
setDuration(double duration)
Accessor.
|
void |
setExecutable(StatCall executable)
Accessor.
|
void |
setPID(int pid)
Accessor.
|
void |
setStart(java.util.Date start)
Accessor.
|
void |
setStatus(Status status)
Accessor.
|
void |
setTag(java.lang.String tag)
Accessor.
|
void |
setUsage(Usage usage)
Accessor.
|
void |
toString(java.io.Writer stream)
Converts the active state into something meant for human consumption.
|
void |
toXML(java.io.Writer stream,
java.lang.String indent,
java.lang.String namespace)
Dumps the state of the current element as XML output.
|
private java.lang.String m_tag
private java.util.Date m_start
private double m_duration
private int m_pid
private Usage m_usage
private Status m_status
private StatCall m_executable
private Arguments m_arguments
public java.lang.String getTag()
setTag(String)public void setTag(java.lang.String tag)
tag - getTag()public java.util.Date getStart()
setStart(Date)public void setStart(java.util.Date start)
start - getStart()public double getDuration()
setDuration(double)public void setDuration(double duration)
duration - getDuration()public int getPID()
setPID(int)public void setPID(int pid)
pid - getPID()public Usage getUsage()
setUsage(Usage)public void setUsage(Usage usage)
usage - getUsage()public Status getStatus()
setStatus(Status)public void setStatus(Status status)
status - getStatus()public StatCall getExecutable()
setExecutable(StatCall)public void setExecutable(StatCall executable)
executable - getExecutable()public Arguments getArguments()
setArguments(Arguments)public void setArguments(Arguments arguments)
arguments - getArguments()public void toString(java.io.Writer stream)
throws java.io.IOException
toString in class org.griphyn.vdl.Chimerastream - is a stream opened and ready for writing. This can also
be a string stream for efficient output.java.io.IOException - if something fishy happens to the stream.public void toXML(java.io.Writer stream,
java.lang.String indent,
java.lang.String namespace)
throws java.io.IOException
toXML in class org.griphyn.vdl.Chimerastream - is a stream opened and ready for writing. This can also
be a string stream for efficient output.indent - is a String of spaces used for pretty
printing. The initial amount of spaces should be an empty string.
The parameter is used internally for the recursive traversal.namespace - is the XML schema namespace prefix. If neither
empty nor null, each element will be prefixed with this prefix,
and the root element will map the XML namespace.java.io.IOException - if something fishy happens to the stream.BufferedWriter