|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Task data to be handled into a Plan. Contains a lcanals.tc.core.Task, lcanals.tc.core.Timing, lcanals.tc.core.Estimation, and functions to access to them.
Field Summary | |
static java.lang.String |
FINISHED
String returned by getStatus |
static java.lang.String |
IN_PAUSE
String returned by getStatus |
static java.lang.String |
NOT_STARTED
String returned by getStatus |
static java.lang.String |
RUNNING
String returned by getStatus |
Method Summary | |
long |
getEstimatedMaximumTotalTime()
Return the estimated maximum time to complete the task |
long |
getEstimatedMinimumTotalTime()
Return the minimum estimated total time to complete the task |
long |
getEstimatedProjectTime()
Return the estimated time must be used to complete the task |
long |
getEstimatedTotalTime()
Return the estimated time to complete the task |
long |
getMaximumProjectTime()
Return the estimated maximum time must be used to complete the task |
long |
getMinimumProjectTime()
Return the estimated minimum time must be used to complete the task |
java.lang.String |
getStatus()
Returns a string saying the state. |
long |
getTimeUnit()
Sets the number of milliseconds which represents each unit of time |
Timing |
getTiming()
Returns the current timing related with this task |
long |
getUsedProjectTime()
Total project used time |
long |
getUsedTotalTime()
Total used time |
boolean |
isFinished()
Returns if the task is already finished |
void |
setEstimation(Estimation estimation)
Changes the estimation |
void |
setTimeUnit(long units)
Returns the number of milliseconds which represents each unit of time. |
void |
signalPlayPause(java.lang.String comment)
Receives a play/pause signal (ignored if task is finished yet) |
void |
signalStop()
Receives a stop signal, which ends the task |
Methods inherited from interface lcanals.tc.core.Task |
equals, getDescription, getDifficulty, getId, getRisk |
Field Detail |
public static final java.lang.String IN_PAUSE
getStatus
getStatus()
public static final java.lang.String FINISHED
getStatus
getStatus()
public static final java.lang.String RUNNING
getStatus
getStatus()
public static final java.lang.String NOT_STARTED
getStatus
getStatus()
Method Detail |
public Timing getTiming()
public java.lang.String getStatus()
PlanTask.NOT_STARTED
PlanTask.RUNNING
PlanTask.IN_PAUSE
PlanTask.FINISHED
public void signalPlayPause(java.lang.String comment)
public void signalStop()
public long getTimeUnit()
public void setTimeUnit(long units)
public boolean isFinished()
public long getEstimatedProjectTime()
public long getMaximumProjectTime()
public long getMinimumProjectTime()
public long getEstimatedTotalTime()
public long getEstimatedMaximumTotalTime()
public long getEstimatedMinimumTotalTime()
public long getUsedProjectTime()
public long getUsedTotalTime()
public void setEstimation(Estimation estimation)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |