Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package jadex.bdi.dfagent;
The df search plan has the task to receive a message andc reate a corresponding goal.
public class DFSearchPlan extends Plan
The body method is called on the instatiated plan instance from the scheduler.
	public void body()
		DFSearch sa = (DFSearch)getParameter("action").getValue();
		IGoal sag = createGoal("df_search");
		getParameter("result").setValue(new Done(sa));
New to GrepCode? Check out our FAQ X