public class WaitBDI
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected jadex.bridge.IInternalAccess |
agent |
protected java.util.List<java.lang.String> |
names |
protected jadex.base.test.TestReport[] |
tr |
Constructor and Description |
---|
WaitBDI() |
Modifier and Type | Method and 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.
|
protected jadex.bridge.IInternalAccess agent
protected java.util.List<java.lang.String> names
protected jadex.base.test.TestReport[] tr
public void body()
public void destroy(jadex.bridge.IInternalAccess agent)
protected void addName(java.lang.String name)
name
- The name.protected void removeName(java.lang.String name)
name
- The name.protected jadex.commons.future.IFuture<java.lang.Void> waitPlan(jadex.bdiv3.runtime.impl.RPlan rplan)