Package jadex.bdiv3.tutorial.b5
Class TranslationBDI.TranslatePlan
- java.lang.Object
-
- jadex.bdiv3.tutorial.b5.TranslationBDI.TranslatePlan
-
- Enclosing class:
- TranslationBDI
public class TranslationBDI.TranslatePlan extends java.lang.ObjectTranslate an English word to German.
-
-
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 voidaborted()Called when plan is aborted.booleancheckCondition()The context condition.voidfailed()Called when plan fails.voidpassed()Called when plan passed.java.lang.StringtranslateEnglishGerman()The plan body.
-
-
-
Field Detail
-
plan
protected IPlan plan
The plan api.
-
gword
protected java.lang.String gword
The German word.
-
-
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.
-
-