Class ChatBotF2Agent


  • public class ChatBotF2Agent
    extends java.lang.Object
    Chat bot replies to selected messages.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String keyword
      The keyword to react to.
      protected java.lang.String reply
      The reply message.
    • Constructor Summary

      Constructors 
      Constructor Description
      ChatBotF2Agent()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getKeyword()
      Get the keyword.
      java.lang.String getReply()
      Get the reply message.
      void setKeyword​(java.lang.String keyword)
      Set the keyword.
      void setReply​(java.lang.String reply)
      Set the reply message.
      • Methods inherited from class java.lang.Object

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

      • keyword

        protected java.lang.String keyword
        The keyword to react to.
      • reply

        protected java.lang.String reply
        The reply message.
    • Constructor Detail

      • ChatBotF2Agent

        public ChatBotF2Agent()
    • Method Detail

      • getKeyword

        public java.lang.String getKeyword()
        Get the keyword.
        Returns:
        The keyword.
      • setKeyword

        public void setKeyword​(java.lang.String keyword)
        Set the keyword.
        Parameters:
        keyword - The keyword.
      • getReply

        public java.lang.String getReply()
        Get the reply message.
        Returns:
        The reply message.
      • setReply

        public void setReply​(java.lang.String reply)
        Set the reply message.
        Parameters:
        reply - The reply message.