Class TaskInfo
- java.lang.Object
-
- jadex.bdi.examples.hunterprey_classic.TaskInfo
-
public class TaskInfo extends java.lang.Object
The 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.Object
getAction()
Get the action.java.lang.Object
getResult()
Get the result.java.lang.Thread
getThread()
Get the thread.void
setResult(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.
-
-