Class HelloWorldGoal


  • public class HelloWorldGoal
    extends java.lang.Object
    Hello World with goal driven print out. class is checked for annotations goal, plan type declarations from annotations or inline plans are added to the agent type and conditions to eca rule system class is rewritten to announce belief changes (field accesses and annotated methods)
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      class  HelloWorldGoal.HelloGoal
      Simple hello world goal.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected IInternalAccess agent
      The bdi agent.
    • Constructor Summary

      Constructors 
      Constructor Description
      HelloWorldGoal()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void body()
      The agent body.
      protected void printHello​(java.lang.String text, IPlan plan)
      Plan that prints out goal text and passes.
      • Methods inherited from class java.lang.Object

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

      • HelloWorldGoal

        public HelloWorldGoal()
    • Method Detail

      • body

        public void body()
        The agent body.
      • printHello

        protected void printHello​(java.lang.String text,
                                  IPlan plan)
        Plan that prints out goal text and passes.