Class TaskInfo
- java.lang.Object
-
- jadex.bdi.examples.hunterprey_classic.TaskInfo
-
public class TaskInfo extends java.lang.ObjectThe task struct.
-
-
Constructor Summary
Constructors Constructor Description TaskInfo(java.lang.Object action)Create a new task.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetAction()Get the action.java.lang.ObjectgetResult()Get the result.java.lang.ThreadgetThread()Get the thread.voidsetResult(java.lang.Object result)Set the result.
-
-
-
Method Detail
-
getAction
public java.lang.Object getAction()
Get the action.- Returns:
- The action.
-
getThread
public java.lang.Thread getThread()
Get the thread.- Returns:
- The thread.
-
getResult
public java.lang.Object getResult()
Get the result.- Returns:
- The result.
-
setResult
public void setResult(java.lang.Object result)
Set the result.- Parameters:
result- The result.
-
-