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.Object
Translate 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 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.
-
-
-
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.
-
-