edu.mssm.crover.ims.tasks.engines
Class MegablastTaskData

java.lang.Object
  |
  +--edu.mssm.crover.ims.tasks.engines.MegablastTaskData
All Implemented Interfaces:
java.io.Serializable, TaskData

public class MegablastTaskData
extends java.lang.Object
implements TaskData, java.io.Serializable

Stores the parameters for a megablast task, for use with the MegablastTaskEngine.

See Also:
Serialized Form

Field Summary
 java.lang.String database
           
 double eValue
           
 FileTaskData file
           
 
Constructor Summary
MegablastTaskData(FileTaskData ftd, java.lang.String db, double e)
           
MegablastTaskData(java.lang.String taskid, java.lang.String db, double e)
           
 
Method Summary
 boolean canMerge()
          Does this instance support the merge operation?
 boolean canSplit()
          Does this instance support the split operation?
 boolean fromTaskID()
           
 java.lang.String getDatabase()
           
 double getEValue()
           
 FileTaskData getFileTaskData(TaskManagerRMIServer tm)
           
 java.lang.String getMaskTaskID()
           
 java.io.File getOutFile()
           
 FileTaskData getSequenceFile()
           
 TaskData merge(java.util.Collection task_data)
          Returns the merging of independent task_data in one instance.
 void setOutFile(java.io.File mbr)
           
 long size()
          Returns a number proportional to the number of data represented by this instance.
 java.util.Collection split(int numpieces)
          Splits the data contained in this instance into several pieces.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

file

public FileTaskData file

database

public java.lang.String database

eValue

public double eValue
Constructor Detail

MegablastTaskData

public MegablastTaskData(FileTaskData ftd,
                         java.lang.String db,
                         double e)

MegablastTaskData

public MegablastTaskData(java.lang.String taskid,
                         java.lang.String db,
                         double e)
Method Detail

getMaskTaskID

public java.lang.String getMaskTaskID()

fromTaskID

public boolean fromTaskID()

canSplit

public boolean canSplit()
Description copied from interface: TaskData
Does this instance support the split operation?

Specified by:
canSplit in interface TaskData

size

public long size()
Description copied from interface: TaskData
Returns a number proportional to the number of data represented by this instance.

Specified by:
size in interface TaskData

split

public java.util.Collection split(int numpieces)
Description copied from interface: TaskData
Splits the data contained in this instance into several pieces.

Specified by:
split in interface TaskData

getSequenceFile

public FileTaskData getSequenceFile()

getDatabase

public java.lang.String getDatabase()

getEValue

public double getEValue()

canMerge

public boolean canMerge()
Description copied from interface: TaskData
Does this instance support the merge operation?

Specified by:
canMerge in interface TaskData

merge

public TaskData merge(java.util.Collection task_data)
Description copied from interface: TaskData
Returns the merging of independent task_data in one instance.

Specified by:
merge in interface TaskData

setOutFile

public void setOutFile(java.io.File mbr)

getOutFile

public java.io.File getOutFile()

getFileTaskData

public FileTaskData getFileTaskData(TaskManagerRMIServer tm)
                             throws java.io.IOException,
                                    TaskNotFoundException
java.io.IOException
TaskNotFoundException


Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.