Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package jadex.bdi.planlib.df;
 
Plan to register at the df.
public class DFLocalSearchPlan extends Plan
{
Plan body.
	public void body()
	{
		// Todo: support other parameters!?
		boolean remote = getParameter("remote").getValue()!=null
			((Boolean)getParameter("remote").getValue()).booleanValue(): false;
		// todo: support remote search (search on all DFs on remote platforms also).
		if(remote)
			throw new UnsupportedOperationException("Remote DF search not yet implemented.");
		IFuture ret = ((IDF)getServiceContainer().getRequiredService("df").get(this)).search(desccon);
		getParameterSet("result").addValues(result);
	}
New to GrepCode? Check out our FAQ X