org.genepattern.webservice
Class AnalysisService

java.lang.Object
  extended byorg.genepattern.webservice.AnalysisService

public class AnalysisService
extends java.lang.Object

Holds a TaskInfo object and the server on which the task is located.

Version:
$Revision 1.2 $

Constructor Summary
AnalysisService(java.lang.String server, TaskInfo task)
          Creates a new AnalysisService instance
 
Method Summary
 java.lang.String getLsid()
          Gets the LSID for this AnalysisService instance
 java.lang.String getName()
          Gets the name of this AnalysisService instance
 java.lang.String getServer()
          Gets the server on which this AnalysisService instance is located.
 TaskInfo getTaskInfo()
          Gets the TaskInfo object for this AnalysisService instance
 java.lang.String toString()
          Returns a string representation of this AnalysisService instance
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnalysisService

public AnalysisService(java.lang.String server,
                       TaskInfo task)
Creates a new AnalysisService instance

Parameters:
server - the server, for example http://127.0.0.1:8080
task - the task info object for the service
Method Detail

toString

public java.lang.String toString()
Returns a string representation of this AnalysisService instance

Returns:
the string representation

getServer

public java.lang.String getServer()
Gets the server on which this AnalysisService instance is located.

Returns:
The server

getLsid

public java.lang.String getLsid()
Gets the LSID for this AnalysisService instance

Returns:
the lsid

getName

public java.lang.String getName()
Gets the name of this AnalysisService instance

Returns:
the task name

getTaskInfo

public TaskInfo getTaskInfo()
Gets the TaskInfo object for this AnalysisService instance

Returns:
The task info