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.
    • 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.
      void failed​(java.lang.Exception e)
      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

      • gword

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

      • TranslatePlan

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

      • 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​(java.lang.Exception e)
        Called when plan fails.