Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package jadex.bdi.cmsagent;
 
Search for components.
public class CMSSearchComponentsPlan extends Plan
{
The body method is called on the instatiated plan instance from the scheduler.
	public void body()
	{
		IGoal sag = createGoal("cms_search_components");
		sag.getParameter("constraints").setValue(sa.getSearchConstraints());
		getParameter("result").setValue(new Done(sa));
	}
New to GrepCode? Check out our FAQ X