public interface TaskInterface
Task
,
TaskManagerInterface
,
TaskManager
,
TaskResultsInterface
,
TaskResults
,
TasksParametersInterface
,
TaskParameters
,
ClientInterface
,
Client
Modifier and Type | Method and Description |
---|---|
ClientInterface |
getClient()
Return the ClientInterface which owns the task
|
TaskParametersInterface |
getParams()
Return the parameters of the task
|
java.lang.String |
getPath()
Return the path to the directory where the file related
to the task are saved
|
TaskResultsInterface |
getResults()
Return the results of the last execution of the task
|
java.lang.String |
getSrcFileName()
Return the name of the source file containing the code of the task
to compile/execute
|
long |
inactiveSince()
Return the time elapsed since the last time this task
have been executed
|
void |
inActivity()
Update the last activity time of this task
|
boolean |
isCompiled()
Return true if the task have been successfully compiled
|
void |
kill()
Destroy the files related to the task
|
void |
setSrcFileName(java.lang.String srcFileName)
Replace the name of the task's source file by the one given
in argument
|
ClientInterface getClient()
java.lang.String getPath()
TaskParametersInterface getParams()
TaskResultsInterface getResults()
java.lang.String getSrcFileName()
void setSrcFileName(java.lang.String srcFileName)
srcFileName
- the new name of the task's source fileboolean isCompiled()
void inActivity()
long inactiveSince()
void kill()