public class TaskResults extends java.lang.Object implements TaskResultsInterface
TaskResultsInterface
,
TaskInterface
,
Task
Modifier and Type | Method and Description |
---|---|
EnumResult |
getResult()
Return the value of the result
|
EnumStatus |
getStatus()
Return the value of the status
|
java.lang.String |
getStdErr()
Return the stderr related to the task
|
java.lang.String |
getStdOut()
Return the stdOut related to the task
|
float |
getTimeInfo()
Return the time elapsed during the last execution of the task
|
void |
setResult(EnumResult result)
Change the EnumResult with the one given in parameter
|
void |
setStatus(EnumStatus status)
Change the value of the status with the one given in parameters
|
void |
setStdErr(java.lang.String stdErr)
Change the stderr of the task with the new one given in parameters
|
void |
setStdOut(java.lang.String stdOut)
Change the stdout of the task with the new one given in parameters
|
void |
setTimeCompilInfo(float timeCompilInfo)
Change the compilation's time with the new one given in parameters
|
void |
setTimeExecInfo(float timeExecInfo)
Change the execution's time with the new one given in parameters
|
public void setResult(EnumResult result)
setResult
in interface TaskResultsInterface
result
- the new result's valuepublic EnumResult getResult()
getResult
in interface TaskResultsInterface
public EnumStatus getStatus()
getStatus
in interface TaskResultsInterface
public void setStatus(EnumStatus status)
setStatus
in interface TaskResultsInterface
status
- the EnumStatus representing the status' valuepublic java.lang.String getStdOut()
getStdOut
in interface TaskResultsInterface
public void setStdOut(java.lang.String stdOut)
setStdOut
in interface TaskResultsInterface
a
- String representing the new task's stdoutpublic java.lang.String getStdErr()
getStdErr
in interface TaskResultsInterface
public void setStdErr(java.lang.String stdErr)
setStdErr
in interface TaskResultsInterface
stdErr
- a String representing the new stderrpublic float getTimeInfo()
getTimeInfo
in interface TaskResultsInterface
public void setTimeCompilInfo(float timeCompilInfo)
setTimeCompilInfo
in interface TaskResultsInterface
timeCompilInfo
- a float representing the time elapsed during
the last compilation of the taskpublic void setTimeExecInfo(float timeExecInfo)
setTimeExecInfo
in interface TaskResultsInterface
timeExecInfo
- a float representing the time elapsed during
the last execution of the task