Class 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​(IInternalAccess agent)
      Called when agent is killed.
      protected void removeName​(java.lang.String name)
      Remove a name.
      protected IFuture<java.lang.Void> waitPlan​(jadex.bdiv3.runtime.impl.RPlan rplan)
      Plan that waits for addition and removal of a name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WaitBDI

        public WaitBDI()
    • Method Detail

      • body

        public void body()
        The agent body.
      • destroy

        public void destroy​(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 IFuture<java.lang.Void> waitPlan​(jadex.bdiv3.runtime.impl.RPlan rplan)
        Plan that waits for addition and removal of a name.