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

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

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

Stores the taskid of a megablast task, for use with the TIMegablastTaskEngine.

See Also:
Serialized Form

Field Summary
 FileTaskData file
           
 java.lang.String masking_taskid
           
 
Constructor Summary
MaskSequenceTaskData(FileTaskData ftd)
           
 
Method Summary
 boolean canMerge()
          Does this instance support the merge operation?
 boolean canSplit()
          Does this instance support the split operation?
 java.lang.String getMaskingTaskID()
           
 TaskData merge(java.util.Collection task_data)
          Returns the merging of independent task_data in one instance.
 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

masking_taskid

public java.lang.String masking_taskid

file

public FileTaskData file
Constructor Detail

MaskSequenceTaskData

public MaskSequenceTaskData(FileTaskData ftd)
Method Detail

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

getMaskingTaskID

public java.lang.String getMaskingTaskID()

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


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