Package jadex.bdi.examples.cleanerworld
Class CreateCollectionTruckProcess
- java.lang.Object
- 
- jadex.commons.SimplePropertyObject
- 
- jadex.bdi.examples.cleanerworld.CreateCollectionTruckProcess
 
 
- 
- All Implemented Interfaces:
- IPropertyObject,- ISpaceProcess
 
 public class CreateCollectionTruckProcess extends SimplePropertyObject implements ISpaceProcess Process responsible for creating truck agents in response to full wastebins.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.Set<ISpaceObject>ongoing- 
Fields inherited from class jadex.commons.SimplePropertyObjectpcs, properties
 - 
Fields inherited from interface jadex.extension.envsupport.environment.ISpaceProcessID
 
- 
 - 
Constructor SummaryConstructors Constructor Description CreateCollectionTruckProcess()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(IClockService clock, IEnvironmentSpace space)Executes the environment processvoidshutdown(IEnvironmentSpace space)This method will be executed by the object before the process is removed from the execution queue.voidstart(IClockService clock, IEnvironmentSpace space)This method will be executed by the object before the process gets added to the execution queue.- 
Methods inherited from class jadex.commons.SimplePropertyObjectaddPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty, toString
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface jadex.commons.IPropertyObjectgetProperty, getPropertyNames, hasProperty, setProperty
 
- 
 
- 
- 
- 
Field Detail- 
ongoingprotected java.util.Set<ISpaceObject> ongoing 
 
- 
 - 
Method Detail- 
startpublic void start(IClockService clock, IEnvironmentSpace space) This method will be executed by the object before the process gets added to the execution queue.- Specified by:
- startin interface- ISpaceProcess
- Parameters:
- clock- The clock.
- space- The space this process is running in.
 
 - 
shutdownpublic void shutdown(IEnvironmentSpace space) This method will be executed by the object before the process is removed from the execution queue.- Specified by:
- shutdownin interface- ISpaceProcess
- Parameters:
- clock- The clock.
- space- The space this process is running in.
 
 - 
executepublic void execute(IClockService clock, IEnvironmentSpace space) Executes the environment process- Specified by:
- executein interface- ISpaceProcess
- Parameters:
- clock- The clock.
- space- The space this process is running in.
 
 
- 
 
-