tassl.application.cometcloud
Class TaskProperties
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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)
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