jadex.bdi.planlib.protocols.cancelmeta.CMApproveCancelPlan Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-applib-bdi Show documentation
Show all versions of jadex-applib-bdi Show documentation
The Jadex applib BDI package contain
ready to use functionalities for
BDI agents mostly in form of modules
called capabilities.
package jadex.bdi.planlib.protocols.cancelmeta;
import jadex.bdi.runtime.Plan;
/**
* Default plan to decide about cancel requests.
* Always returns true.
*/
public class CMApproveCancelPlan extends Plan
{
/**
* The plan body.
*/
public void body()
{
getParameter("result").setValue(Boolean.TRUE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy