Package jadex.bdiv3.testcases.plans
Class WaitBDI
- java.lang.Object
-
- jadex.bdiv3.testcases.plans.WaitBDI
-
public class WaitBDI extends java.lang.Object
Agent that tests plan waiting for fact added and removed.
-
-
Constructor Summary
Constructors Constructor Description WaitBDI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addName(java.lang.String name)
Add a name.void
body()
The agent body.void
destroy(jadex.bridge.IInternalAccess agent)
Called when agent is killed.protected void
removeName(java.lang.String name)
Remove a name.protected jadex.commons.future.IFuture<java.lang.Void>
waitPlan(jadex.bdiv3.runtime.impl.RPlan rplan)
Plan that waits for addition and removal of a name.
-
-
-
Method Detail
-
body
public void body()
The agent body.
-
destroy
public void destroy(jadex.bridge.IInternalAccess agent)
Called when agent is killed.
-
addName
protected void addName(java.lang.String name)
Add a name.- Parameters:
name
- The name.
-
removeName
protected void removeName(java.lang.String name)
Remove a name.- Parameters:
name
- The name.
-
waitPlan
protected jadex.commons.future.IFuture<java.lang.Void> waitPlan(jadex.bdiv3.runtime.impl.RPlan rplan)
Plan that waits for addition and removal of a name.
-
-