org.genepattern.webservice
Class AnalysisJob

java.lang.Object
  extended byorg.genepattern.webservice.AnalysisJob
All Implemented Interfaces:
java.io.Serializable

public class AnalysisJob
extends java.lang.Object
implements java.io.Serializable

Client side job information - includes server and JobInfo.

Version:
$Revision 1.2 $
See Also:
Serialized Form

Constructor Summary
AnalysisJob()
          Constructs a new AnalysisJob .
AnalysisJob(java.lang.String server, JobInfo job)
          Constructs a new AnalysisJob
AnalysisJob(java.lang.String server, JobInfo job, boolean clientJob)
          Constructs a new AnalysisJob
 
Method Summary
 JobInfo getJobInfo()
          Gets the JobInfo for this analysis job
 java.lang.String getLSID()
          Gets the LSID of the task that produced this analysis job.
 java.lang.String getServer()
          Gets the server on which this analysis job was run
 java.lang.String getTaskName()
          Gets the task name of the task that produced this analysis job.
 boolean isClientJob()
          Returns true if this job was executed on the client, false if this job was executed on the server.
 void setJobInfo(JobInfo job)
          Sets the JobInfo for this analysis job
 void setLSID(java.lang.String lsid)
          Sets the LSID of the task that produced this analysis job.
 void setServer(java.lang.String s)
          Sets the server on which this analysis job was run
 void setTaskName(java.lang.String s)
          Sets the task name of the task that produced this analysis job.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnalysisJob

public AnalysisJob()
Constructs a new AnalysisJob .


AnalysisJob

public AnalysisJob(java.lang.String server,
                   JobInfo job)
Constructs a new AnalysisJob

Parameters:
server - The server on which this analysis job was run
job - The JobInfo

AnalysisJob

public AnalysisJob(java.lang.String server,
                   JobInfo job,
                   boolean clientJob)
Constructs a new AnalysisJob

Parameters:
server - The server on which this analysis job was run if clientJob is true or the server on which the task for this job was downloaded from if clientJob is false
job - The JobInfo
clientJob - true if this job was executed on the client, false otherwise
Method Detail

isClientJob

public boolean isClientJob()
Returns true if this job was executed on the client, false if this job was executed on the server.


setServer

public void setServer(java.lang.String s)
Sets the server on which this analysis job was run

Parameters:
s - the server

setTaskName

public void setTaskName(java.lang.String s)
Sets the task name of the task that produced this analysis job.

Parameters:
s - The task name

setJobInfo

public void setJobInfo(JobInfo job)
Sets the JobInfo for this analysis job

Parameters:
job - The JobInfo

setLSID

public void setLSID(java.lang.String lsid)
Sets the LSID of the task that produced this analysis job.

Parameters:
lsid - The task LSID

getServer

public java.lang.String getServer()
Gets the server on which this analysis job was run

Returns:
the server

getLSID

public java.lang.String getLSID()
Gets the LSID of the task that produced this analysis job.

Returns:
The task LSID

getTaskName

public java.lang.String getTaskName()
Gets the task name of the task that produced this analysis job.

Returns:
The task name

getJobInfo

public JobInfo getJobInfo()
Gets the JobInfo for this analysis job

Returns:
The JobInfo


Hosted by docs.bugaco.com