Class HelloWorldBDI.HelloGoal

  • Enclosing class:
    HelloWorldBDI

    public class HelloWorldBDI.HelloGoal
    extends java.lang.Object
    Simple hello world goal.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String text
      The text.
    • Constructor Summary

      Constructors 
      Constructor Description
      HelloGoal​(java.lang.String text)
      Create a new goal whenever sayhello belief is changed.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getText()
      Get the text.
      • Methods inherited from class java.lang.Object

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

      • text

        protected java.lang.String text
        The text.
    • Constructor Detail

      • HelloGoal

        public HelloGoal​(java.lang.String text)
        Create a new goal whenever sayhello belief is changed.
    • Method Detail

      • getText

        public java.lang.String getText()
        Get the text.
        Returns:
        the text.