|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Task
A vgrid task. If your distributed program implements the task interface it can be run within the vgrid framework.
A task has to fulfill the following requirements:
Technically:
| Method Summary | |
|---|---|
java.lang.String |
getExecutionHistory()
Returns the execution history of the task. |
java.lang.String |
getId()
Gets the tasks unique id. |
boolean |
isFinished()
Indicates that the task is finished. |
void |
setExecutionHistory(java.lang.String msg)
Sets the tasks execution history. |
void |
setId(java.lang.String setId)
Sets the tasks id. |
void |
takeOneStep()
Executes one step of the task. |
java.lang.String |
toStateString()
Should produce some info about the task and its current state. |
| Method Detail |
|---|
void setId(java.lang.String setId)
setId - Unique id.java.lang.String getId()
void setExecutionHistory(java.lang.String msg)
msg - The message to be reported.java.lang.String getExecutionHistory()
void takeOneStep()
throws java.lang.Exception
java.lang.Exceptionboolean isFinished()
java.lang.String toStateString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||