Class TranslationBDI.TranslatePlan

  • Enclosing class:
    TranslationBDI

    public class TranslationBDI.TranslatePlan
    extends java.lang.Object
    Translate an English word to German.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String gword
      The German word.
      protected IPlan plan
      The plan api.
    • Constructor Summary

      Constructors 
      Constructor Description
      TranslatePlan​(java.lang.String gword)
      Create a new TranslatePlan.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void aborted()
      Called when plan is aborted.
      boolean checkCondition()
      The context condition.
      void failed()
      Called when plan fails.
      void passed()
      Called when plan passed.
      java.lang.String translateEnglishGerman()
      The plan body.
      • Methods inherited from class java.lang.Object

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

      • plan

        protected IPlan plan
        The plan api.
      • gword

        protected java.lang.String gword
        The German word.
    • Constructor Detail

      • TranslatePlan

        public TranslatePlan​(java.lang.String gword)
        Create a new TranslatePlan.
    • Method Detail

      • checkCondition

        public boolean checkCondition()
        The context condition.
      • translateEnglishGerman

        public java.lang.String translateEnglishGerman()
        The plan body.
      • passed

        public void passed()
        Called when plan passed.
      • aborted

        public void aborted()
        Called when plan is aborted.
      • failed

        public void failed()
        Called when plan fails.