Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package jadex.bdi.cmsagent;
 
Destroy a component.
public class CMSDestroyComponentPlan extends Plan
{
The body method is called on the instatiated plan instance from the scheduler.
	public void body()
	{
		IGoal dag = createGoal("cms_destroy_component");
		dag.getParameter("componentidentifier").setValue(da.getComponentIdentifier());
		getParameter("result").setValue(new Done(da));
	}
New to GrepCode? Check out our FAQ X