Class CleanerAgent.QueryChargingStation
- java.lang.Object
-
- jadex.bdiv3.examples.cleanerworld.cleaner.CleanerAgent.QueryChargingStation
-
- Enclosing class:
- CleanerAgent
public class CleanerAgent.QueryChargingStation extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Chargingstation
station
-
Constructor Summary
Constructors Constructor Description QueryChargingStation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkTarget()
protected Chargingstation
getNearestChargingStation()
Chargingstation
getStation()
Get the station.void
setStation(Chargingstation station)
Set the station.
-
-
-
Field Detail
-
station
protected Chargingstation station
-
-
Method Detail
-
checkTarget
public boolean checkTarget()
-
getNearestChargingStation
protected Chargingstation getNearestChargingStation()
-
getStation
public Chargingstation getStation()
Get the station.- Returns:
- The station.
-
setStation
public void setStation(Chargingstation station)
Set the station.- Parameters:
station
- The station to set.
-
-