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-applications-applib-bdi Show documentation
Show all versions of jadex-applications-applib-bdi Show documentation
The Jadex applib BDI package contains ready to use functionalities for BDI agents mostly in form of modules called capabilities.
The newest version!
package jadex.bdi.planlib.protocols.cancelmeta;
import jadex.bdiv3x.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