Class CleanerAgent.AchieveDropWaste
- java.lang.Object
- 
- jadex.bdiv3.examples.cleanerworld.cleaner.CleanerAgent.AchieveDropWaste
 
- 
- Enclosing class:
- CleanerAgent
 
 public class CleanerAgent.AchieveDropWaste extends java.lang.Object
- 
- 
Constructor SummaryConstructors Constructor Description AchieveDropWaste(Wastebin wastebin)Create a new goal.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckContext()Drop the goal when the wastebin is full.WastebingetWastebin()Get the wastebin.
 
- 
- 
- 
Field Detail- 
wastebinprotected Wastebin wastebin The wastebin.
 
- 
 - 
Constructor Detail- 
AchieveDropWastepublic AchieveDropWaste(Wastebin wastebin) Create a new goal.- Parameters:
- wastebin- The wastebin.
 
 
- 
 - 
Method Detail- 
checkContextpublic boolean checkContext() Drop the goal when the wastebin is full.
 - 
getWastebinpublic Wastebin getWastebin() Get the wastebin.- Returns:
- The wastebin.
 
 
- 
 
-