Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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