tassl.application.cometcloud
Class TaskProperties

java.lang.Object
  extended by tassl.application.cometcloud.TaskProperties
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
TaskProperties()
           
TaskProperties(java.lang.Integer taskId, java.lang.String requirement, java.util.List taskTupleValues, java.util.List taskParam, double minTime, double maxTime, java.util.List inputs, java.util.List outputs)
           
 
Method Summary
 boolean compareTask(TaskProperties obj)
          Compare if two tasks are identical.
 java.util.List<FileProperties> getInputs()
           
 double getMaxTime()
          Maximum time to execute in slowest proc
 double getMinTime()
          Minimum time to execute in slowest proc
 java.util.List<FileProperties> getOutputs()
           
 java.lang.String getRequirement()
           
 java.util.List getTaskParam()
           
 java.util.List getTaskTupleValues()
           
 void setRequirement(java.lang.String requirement)
           
 void setTaskParam(java.util.List taskParam)
           
 void setTaskTupleValues(java.util.List taskTupleValues)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TaskProperties

public TaskProperties()

TaskProperties

public TaskProperties(java.lang.Integer taskId,
                      java.lang.String requirement,
                      java.util.List taskTupleValues,
                      java.util.List taskParam,
                      double minTime,
                      double maxTime,
                      java.util.List inputs,
                      java.util.List outputs)
Method Detail

getMinTime

public double getMinTime()
Minimum time to execute in slowest proc

Returns:

getMaxTime

public double getMaxTime()
Maximum time to execute in slowest proc

Returns:

getInputs

public java.util.List<FileProperties> getInputs()

getOutputs

public java.util.List<FileProperties> getOutputs()

getRequirement

public java.lang.String getRequirement()

getTaskTupleValues

public java.util.List getTaskTupleValues()

getTaskParam

public java.util.List getTaskParam()

setRequirement

public void setRequirement(java.lang.String requirement)

setTaskTupleValues

public void setTaskTupleValues(java.util.List taskTupleValues)

setTaskParam

public void setTaskParam(java.util.List taskParam)

compareTask

public boolean compareTask(TaskProperties obj)
Compare if two tasks are identical. We do not use equals, because we do not want to consider taskId, this is used to check for duplicated tasks

Parameters:
obj -
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object